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 #8 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: Thu, 24 Nov 2016 19:48:57 -0500
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.




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.