From: Paul Pogonyshev <pogonyshev@gmx.net>
Cc: Andreas Schwab <schwab@suse.de>, Miles Bader <miles@gnu.org>
Subject: Re: transpose-sexps
Date: Mon, 8 Jan 2007 23:16:02 +0200 [thread overview]
Message-ID: <200701082316.03059.pogonyshev@gmx.net> (raw)
In-Reply-To: <39982.128.165.123.18.1168279569.squirrel@webmail.lanl.gov>
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
next prev parent reply other threads:[~2007-01-08 21:16 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-04 21:34 transpose-sexps Paul Pogonyshev
2007-01-04 21:48 ` transpose-sexps Stuart D. Herring
2007-01-04 22:02 ` transpose-sexps Paul Pogonyshev
2007-01-04 22:49 ` transpose-sexps Stuart D. Herring
2007-01-04 22:53 ` transpose-sexps Andreas Schwab
2007-01-04 23:28 ` transpose-sexps Paul Pogonyshev
2007-01-05 9:13 ` transpose-sexps Miles Bader
2007-01-05 20:02 ` transpose-sexps Paul Pogonyshev
2007-01-08 18:06 ` transpose-sexps Stuart D. Herring
2007-01-08 21:16 ` Paul Pogonyshev [this message]
2007-01-08 21:22 ` transpose-sexps Stuart D. Herring
2007-01-09 2:08 ` transpose-sexps Stefan Monnier
2007-01-08 18:00 ` transpose-sexps Stuart D. Herring
2007-01-05 9:38 ` transpose-sexps Andreas Schwab
2007-01-05 0:30 ` transpose-sexps 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=200701082316.03059.pogonyshev@gmx.net \
--to=pogonyshev@gmx.net \
--cc=miles@gnu.org \
--cc=schwab@suse.de \
/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.