From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: commends in Python mode
Date: Thu, 04 Jan 2007 23:57:03 -0500 [thread overview]
Message-ID: <jwvps9u2huj.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <200612260030.49345.pogonyshev@gmx.net> (Paul Pogonyshev's message of "Tue\, 26 Dec 2006 00\:30\:49 +0200")
> Try inputting the following in a Python mode buffer:
> test = (1,
> # Apostrophe: '
> 2)
> You can see that the apostrophe breaks sexp scanning (the closing
> paren is not paired with the opening) and probably more. This
> doesn't happen in e.g. C-mode, so it is a problem of Python mode.
I believe you're just suffering the consequences of having
parse-sexp-ignore-comments set to nil. IMO it should always be set to t,
but for some reason it defaults to nil.
Stefan
next prev parent reply other threads:[~2007-01-05 4:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-25 22:30 commends in Python mode Paul Pogonyshev
2006-12-27 12:16 ` Steven Huwig
2006-12-27 17:07 ` comments " Paul Pogonyshev
2006-12-27 19:21 ` Steven Huwig
2007-01-04 0:08 ` Chris Moore
2007-01-04 23:59 ` Steven Huwig
2007-01-05 0:11 ` Paul Pogonyshev
2007-01-05 0:45 ` Steven Huwig
2007-01-05 4:57 ` Stefan Monnier [this message]
2007-01-05 12:05 ` commends " Chris Moore
2007-01-05 19:59 ` Paul Pogonyshev
2007-01-06 18:07 ` Richard Stallman
2007-01-06 2:54 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvps9u2huj.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.