unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Tom Tromey <tom@tromey.com>
Cc: "Wedler, Christoph" <christoph.wedler@sap.com>,
	"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: Tue, 30 Jun 2015 09:53:11 -0400	[thread overview]
Message-ID: <jwv6165qp7t.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87mvziny6v.fsf@tromey.com> (Tom Tromey's message of "Mon, 29 Jun 2015 12:53:28 -0600")

> The basic idea, I think, would be to let the mode(s) change the syntax
> table when needed; and to have these changes be recorded by syntax.el so
> that syntax-ppss and friends could use the correct syntax table for a
> given region.

Right, AFAIK, the way syntax-ppss works, it should already be possible
to make it work right without any changes to submodes.

It would just require changes in syntax.el or having the outer mode
install pieces of advice on some of the syntax.el functions.


        Stefan



  reply	other threads:[~2015-06-30 13:53 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
2015-06-22 13:38   ` Wedler, Christoph
2015-06-29 18:53     ` Tom Tromey
2015-06-30 13:53       ` Stefan Monnier [this message]
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=jwv6165qp7t.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=christoph.wedler@sap.com \
    --cc=emacs-devel@gnu.org \
    --cc=fgallina@gnu.org \
    --cc=tom@tromey.com \
    /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).