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 #13 received at 25013 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: npostavs <at> users.sourceforge.net
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 15:48:46 +0100

On 25.11.2016 01:48, npostavs <at> users.sourceforge.net wrote:
> tags 25013 notabug
> quit
>
> Andreas Röhler <andreas.roehler <at> 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?




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.