unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21343: 24.5; parse-partial-sexp mistakes string for a comment
@ 2015-08-25 13:11 Oleh Krehel
  2015-08-25 17:45 ` Andreas Röhler
  0 siblings, 1 reply; 8+ messages in thread
From: Oleh Krehel @ 2015-08-25 13:11 UTC (permalink / raw)
  To: 21343


To reproduce, paste this code into *scratch*, "|" is the point:

("|foo"
 ";; (bar)")

M-x indent-sexp will result in "    ;" being inserted after the sexp.

This is because `parse-partial-sexp' for the second line detects a
comment at one stage.







^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-03-13  0:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-25 13:11 bug#21343: 24.5; parse-partial-sexp mistakes string for a comment Oleh Krehel
2015-08-25 17:45 ` Andreas Röhler
2015-08-26 11:27   ` Oleh Krehel
2015-08-26 14:52     ` Andreas Röhler
2016-07-03  2:40     ` npostavs
2017-03-05  6:12       ` npostavs
2017-03-05 13:59         ` npostavs
2017-03-13  0:15           ` npostavs

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).