[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: transpose-sexps
From: |
Paul Pogonyshev |
Subject: |
Re: transpose-sexps |
Date: |
Mon, 8 Jan 2007 23:16:02 +0200 |
User-agent: |
KMail/1.7.2 |
Stuart D. Herring wrote:
> > It is probably possible to ask current major mode if we are in a string.
> > If it is not possible, than it is probably worth it to invent a consistent
> > interface that major modes would implement. I agree that it is not to be
> > done now, of course. (And while I'm at it, it's a pity that "now" spans
> > the last two years or so.)
>
> Again, this is not a question of inventiveness, consistency, or any other
> kind of design or programming at all. It's a mathematical question,
> really: it is easy to ask the question and to devise a mechanism for doing
> so, but it is algorithmically non-trivial to determine the answer.
According to Stefan Monier, you can already ask `syntax-ppss'. And that
function already does some caching if I was to say from its code.
Paul
- transpose-sexps, Paul Pogonyshev, 2007/01/04
- Re: transpose-sexps, Stuart D. Herring, 2007/01/04
- Re: transpose-sexps, Paul Pogonyshev, 2007/01/04
- Re: transpose-sexps, Stuart D. Herring, 2007/01/04
- Re: transpose-sexps, Andreas Schwab, 2007/01/04
- Re: transpose-sexps, Paul Pogonyshev, 2007/01/04
- Re: transpose-sexps, Miles Bader, 2007/01/05
- Re: transpose-sexps, Paul Pogonyshev, 2007/01/05
- Re: transpose-sexps, Stuart D. Herring, 2007/01/08
- Re: transpose-sexps,
Paul Pogonyshev <=
- Re: transpose-sexps, Stuart D. Herring, 2007/01/08
- Re: transpose-sexps, Stefan Monnier, 2007/01/08
- Re: transpose-sexps, Stuart D. Herring, 2007/01/08
- Re: transpose-sexps, Andreas Schwab, 2007/01/05
- Re: transpose-sexps, Richard Stallman, 2007/01/04