From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Gene Newsgroups: gmane.emacs.help Subject: Re: error in process filter: Stack overflow in regexp matcher Date: Fri, 28 Dec 2018 08:02:59 -0800 (PST) Message-ID: References: <4bf1c428-308a-4ce9-9ca7-abe1495271e6@googlegroups.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1546013007 4555 195.159.176.226 (28 Dec 2018 16:03:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 28 Dec 2018 16:03:27 +0000 (UTC) Injection-Date: Fri, 28 Dec 2018 16:03:00 +0000 User-Agent: G2/1.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 28 17:03:23 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gcubZ-000126-Kh for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Dec 2018 17:03:21 +0100 Original-Received: from localhost ([127.0.0.1]:59896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcudg-0006ii-EP for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Dec 2018 11:05:32 -0500 X-Received: by 2002:a37:5246:: with SMTP id g67mr20092379qkb.40.1546012980126; Fri, 28 Dec 2018 08:03:00 -0800 (PST) X-Received: by 2002:a37:9547:: with SMTP id x68mr416019qkd.2.1546012980017; Fri, 28 Dec 2018 08:03:00 -0800 (PST) Original-Path: usenet.stanford.edu!v55no1766075qtk.0!news-out.google.com!m21ni6971qta.0!nntp.google.com!v55no1766072qtk.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <4bf1c428-308a-4ce9-9ca7-abe1495271e6@googlegroups.com> Complaints-To: groups-abuse@google.com Original-Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=72.43.228.70; posting-account=xePGxQoAAAAgJalA5zaHmrGIX9Wk_gLW Original-NNTP-Posting-Host: 72.43.228.70 Original-Xref: usenet.stanford.edu gnu.emacs.help:224926 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:119055 Archived-At: On Monday, December 24, 2018 at 4:17:44 PM UTC-5, nenadmi...@gmail.com wrote: > I am trying to execute this piece of code: > (rest (file-seq (file (str "corpus/" "ham"))). > When I execute I get this error: "error in process filter: Stack overflow in regexp matcher". > I have 1400 files in corpus/ham folder. But when I execute only three file it works. At first the `str' -- not being `concat' -- led me to beleive that your sexp might be autolisp or visual lisp. Further research leads me to believe it may be clojure. If so, you can place your code in an org-mode file and wrap #+begin_src clojure (rest (file-seq (file (str "corpus/" "ham") ))) #+end_src ;;^-- note may not be accurate, but was presented as a gist representation of ;; the form There is at least one clojure REPL available for use in emacs as well. Best of luck in your debugging attempts. Gene