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: Andreas Röhler
Subject: bug#25013: 26.0.50; parse-partial-sexp ignores string in shell-mode
Date: Sun, 27 Nov 2016 15:48:46 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.4.0



On 25.11.2016 01:48, npostavs@users.sourceforge.net wrote:
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.


So strings in shell-scripts are evil? Other reasons for Emacs to refuse dealing with it?





reply via email to

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