emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: convert regex.c, strftime.c mktime.c to standard C


From: Richard Stallman
Subject: Re: convert regex.c, strftime.c mktime.c to standard C
Date: Tue, 23 Nov 2010 12:19:25 -0500

    (while (re-search-forward "foo" nil t)
      (insert "bar"))

    or something, and the `re-search-forward' moved the gap to before point,
    it's not obvious (at least not to me :-) how big the performance hit
    would be, since the `insert' most likely moves the gap, anyway.

Moving the gap to point (or to point-1 so the previous char can be checked)
is probably not a disaster, just somewhat of a disadvantage.

-- 
Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org, www.gnu.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]