From: Loren Schall <schall@saifr00.ateng.az.honeywell.com>
Subject: RE too deep
Date: Sat, 02 Mar 1996 15:58:44 -0700 [thread overview]
Message-ID: <199603022258.PAA27350@swtech09.ateng.az.honeywell.com> (raw)
Hi,
Sporadically over the last several versions I've been getting an error
about regular-expression recursion too deep when I try to enter certain
large binary groups I'd rather not name. Sorry, I didn't note the exact
error message.
The following patch seems to alleviate the problem. I suspect that the
`[^()]' part of the annotated regular expression in
gnus-simplify-buffer-fuzzy is/was trying to match across lines (which
is what emacs does, contrary to the usual unix interpretation).
Loren
*** gnus.el.orig Thu Feb 29 06:34:57 1996
--- gnus.el Sat Mar 2 15:05:03 1996
*************** (defun gnus-simplify-buffer-fuzzy ()
*** 3038,3044 ****
(progn (goto-char (match-beginning 0)))
(re-search-forward ":"))))
(goto-char (point-min))
! (while (re-search-forward "[ \t\n]*[[{(][^()]*[]})][ \t]*$" nil t)
(replace-match "" t t))
(goto-char (point-min))
(while (re-search-forward "[ \t]+" nil t)
--- 3038,3044 ----
(progn (goto-char (match-beginning 0)))
(re-search-forward ":"))))
(goto-char (point-min))
! (while (re-search-forward "[ \t\n]*[[{(][^()\n]*[]})][ \t]*$" nil t)
(replace-match "" t t))
(goto-char (point-min))
(while (re-search-forward "[ \t]+" nil t)
reply other threads:[~1996-03-02 22:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=199603022258.PAA27350@swtech09.ateng.az.honeywell.com \
--to=schall@saifr00.ateng.az.honeywell.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.
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 NNTP newsgroup(s).