GNU bug report logs - #25013
26.0.50; parse-partial-sexp ignores string in shell-mode

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Thu, 24 Nov 2016 10:12:02 UTC

Severity: minor

Tags: notabug

Found in version 26.0.50

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


Message #16 received at 25013 <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: 25013 <at> debbugs.gnu.org
Subject: Re: bug#25013: 26.0.50;
 parse-partial-sexp ignores string in shell-mode
Date: Sun, 27 Nov 2016 09:50:15 -0500
Andreas Röhler <andreas.roehler <at> easy-emacs.de> writes:

> On 25.11.2016 01:48, npostavs <at> users.sourceforge.net wrote:
>>
>> Andreas Röhler <andreas.roehler <at> easy-emacs.de> writes:
>>
>>> M-xshell RET
>>> Insert an unfinished string like
>>>
>>> "git commit -m 'My message"
[...]
>>>
>>> Tellsnot being in string.
>> That's because shell-mode doesn't define any syntax for strings.
>>
>
> So strings in shell-scripts are evil?

I don't understand what you mean by "evil" in this context.  Note that
shell-mode doesn't handle shell scripts, but rather interactive shell
sessions.  Use sh-mode for scripts.




This bug report was last modified 8 years and 59 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.