From: Lennart Borgman <lennart.borgman@gmail.com>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: convert regex.c, strftime.c mktime.c to standard C
Date: Mon, 22 Nov 2010 17:59:23 +0100 [thread overview]
Message-ID: <AANLkTinsdEqYzwxF5K2fOuDcG_98kN4fy96ux=BO-G7r@mail.gmail.com> (raw)
In-Reply-To: <m362vpwbmw.fsf@quimbies.gnus.org>
On Mon, Nov 22, 2010 at 5:45 PM, Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:
>
> If the new, gapless regex code is much faster than the old, gap-aware
> regex code, then this might be a net win. Or not.
I have a question "in the opposite direction".
As you perhaps know I have written some code for multiple major modes
in a buffer, mumamo.el in nXhtml. Different chunks of the buffer have
different major modes. Some part of mumamo.el becomes quite complex
and is easily broken because it is hard to stop a major mode from
looking in chunks that are for other major modes.
Examples of this problem are parsers of all kinds that belongs to a
certain major mode.
This is quite hard to fix and I have been thinking about a low level
change where you could "hide" all the chunks has a different major
mode when the major mode in question for a parser etc.
Fixing the regexp code looked like something that could be
troublesome. Do you have any opinion about if this is doable and if it
would slow down the code very much when such a restriction as above
would be active?
next prev parent reply other threads:[~2010-11-22 16:59 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-15 6:03 convert regex.c, strftime.c mktime.c to standard C Dan Nicolaescu
2010-11-15 17:19 ` Stefan Monnier
2010-11-15 22:01 ` Richard Stallman
2010-11-16 15:45 ` Dan Nicolaescu
2010-11-17 19:29 ` Richard Stallman
2010-11-18 4:21 ` Dan Nicolaescu
2010-11-19 6:16 ` Richard Stallman
2010-11-19 7:39 ` Eli Zaretskii
2010-11-19 16:58 ` Chong Yidong
2010-11-19 17:10 ` Sam Steingold
2010-11-19 17:15 ` Lars Magne Ingebrigtsen
2010-11-19 17:52 ` Eli Zaretskii
2010-11-19 18:02 ` Lars Magne Ingebrigtsen
2010-11-19 18:10 ` Eli Zaretskii
2010-11-19 18:54 ` Lars Magne Ingebrigtsen
2010-11-19 19:05 ` Lars Magne Ingebrigtsen
2010-11-19 19:23 ` Lars Magne Ingebrigtsen
2010-11-19 18:11 ` Sven Joachim
2010-11-19 18:10 ` Andreas Schwab
2010-11-20 11:57 ` Bruno Haible
2010-11-20 12:35 ` Eli Zaretskii
2010-11-20 15:43 ` Bruno Haible
2010-11-20 17:19 ` Eli Zaretskii
2010-11-21 0:37 ` Bruno Haible
2010-11-20 17:52 ` David De La Harpe Golden
2010-11-21 0:14 ` Bruno Haible
2010-11-20 11:00 ` Bruno Haible
2010-11-21 7:42 ` Richard Stallman
2010-11-21 17:25 ` Lars Magne Ingebrigtsen
2010-11-22 16:35 ` Richard Stallman
2010-11-22 16:45 ` Lars Magne Ingebrigtsen
2010-11-22 16:59 ` Lennart Borgman [this message]
2010-11-22 19:38 ` Islands and streams [Was: convert regex.c, .... to standard C] Alan Mackenzie
2010-11-23 1:20 ` David De La Harpe Golden
2010-11-23 1:26 ` Lennart Borgman
2010-11-23 4:48 ` Stefan Monnier
2010-11-23 18:26 ` Eli Zaretskii
2010-11-23 19:01 ` Lennart Borgman
2010-11-23 20:08 ` Stefan Monnier
2010-11-23 9:21 ` Islands and streams David Kastrup
2010-11-23 22:23 ` Alan Mackenzie
2010-11-23 22:42 ` Lennart Borgman
2010-11-24 17:13 ` Islands and streams [Was: convert regex.c, .... to standard C] Chong Yidong
2010-11-22 19:39 ` convert regex.c, strftime.c mktime.c to standard C Stefan Monnier
2010-11-23 17:19 ` 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='AANLkTinsdEqYzwxF5K2fOuDcG_98kN4fy96ux=BO-G7r@mail.gmail.com' \
--to=lennart.borgman@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
--cc=rms@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.