From: Tom Tromey <tom@tromey.com>
To: "Wedler\, Christoph" <christoph.wedler@sap.com>
Cc: "fgallina@gnu.org" <fgallina@gnu.org>,
"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: python.el patch proposal: Respect `prog-indentation-context'.
Date: Fri, 19 Jun 2015 14:36:12 -0600 [thread overview]
Message-ID: <87lhffjv0j.fsf@tromey.com> (raw)
In-Reply-To: <F9C2521BBF380A4A97379009991555E685B9EE87@DEWDFEMB17C.global.corp.sap> (Christoph Wedler's message of "Fri, 19 Jun 2015 14:05:12 +0000")
>>>>> "Christoph" == Wedler, Christoph <christoph.wedler@sap.com> writes:
Hi.
I'm supportive of your project. I think it is great to see some
advances in this area in the core.
Christoph> (save-restriction
Christoph> - (widen)
Christoph> + (prog-widen)
Christoph> (let ((ppss (save-excursion
Christoph> (beginning-of-line)
Christoph> (syntax-ppss))))
I'm curious how you plan to extend your approach to handle syntax-ppss
as well. It seems to me that the sub-mode has to be able to change the
syntax table at the mode boundaries; and furthermore that this also has
to be done during font-lock so that syntactic font-locking works
correctly in all the parts of the buffer.
If you already discussed this and I missed it, let me know and I can go
search the archives. I don't remember seeing any mention of it, so I
thought I'd ask.
Tom
next prev parent reply other threads:[~2015-06-19 20:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-19 14:05 python.el patch proposal: Respect `prog-indentation-context' Wedler, Christoph
2015-06-19 20:36 ` Tom Tromey [this message]
2015-06-22 13:38 ` Wedler, Christoph
2015-06-29 18:53 ` Tom Tromey
2015-06-30 13:53 ` Stefan Monnier
2015-07-02 9:13 ` Wedler, Christoph
-- strict thread matches above, loose matches on Subject: below --
2015-07-02 9:16 Wedler, Christoph
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lhffjv0j.fsf@tromey.com \
--to=tom@tromey.com \
--cc=christoph.wedler@sap.com \
--cc=emacs-devel@gnu.org \
--cc=fgallina@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 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).