From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/5422 Path: main.gmane.org!not-for-mail From: Loren Schall Newsgroups: gmane.emacs.gnus.general Subject: RE too deep Date: Sat, 02 Mar 1996 15:58:44 -0700 Message-ID: <199603022258.PAA27350@swtech09.ateng.az.honeywell.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035146027 32750 80.91.224.250 (20 Oct 2002 20:33:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:33:47 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.3/8.6.9) with SMTP id PAA00220 for ; Sat, 2 Mar 1996 15:29:35 -0800 Original-Received: from saifr00.ateng.az.honeywell.com (saifr00.ateng.az.Honeywell.COM [129.239.166.12]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Sat, 2 Mar 1996 23:59:18 +0100 Original-Received: from swtech09.ateng.az.honeywell.com (swtech09.ateng.az.Honeywell.COM [129.239.1.79]) by saifr00.ateng.az.honeywell.com (8.6.10/8.6.4) with ESMTP id QAA12638 for ; Sat, 2 Mar 1996 16:00:41 -0700 Original-Received: from saifr00.ateng.az.honeywell.com (schall@localhost) by swtech09.ateng.az.honeywell.com (8.6.4/8.6.4) with ESMTP id PAA27350 for ; Sat, 2 Mar 1996 15:58:45 -0700 X-Authentication-Warning: swtech09.ateng.az.honeywell.com: Host localhost claimed to be saifr00.ateng.az.honeywell.com X-Authentication-Warning: swtech09.ateng.az.honeywell.com: schall owned process doing -bs X-Mailer: exmh version 1.6.5 12/11/95 Original-To: ding@ifi.uio.no Xref: main.gmane.org gmane.emacs.gnus.general:5422 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:5422 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)