From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jonathan Kyle Mitchell Newsgroups: gmane.emacs.bugs Subject: bug#31326: 27.0.50; eshell/clear exceeds max-lisp-eval-depth Date: Fri, 4 May 2018 13:07:01 -0500 Message-ID: <302ee2aa-9475-d011-c643-fd1f99d1245c@jonathanmitchell.org> References: <4d356aa0-7783-e22f-b943-0a3f70119b94@jonathanmitchell.org> <87tvrro9bz.fsf@gmail.com> <16d9d5de-de45-4585-14a1-5f2701314bc5@jonathanmitchell.org> <87lgczn1mj.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1525457176 10038 195.159.176.226 (4 May 2018 18:06:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 4 May 2018 18:06:16 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 Cc: 31326@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 04 20:06:11 2018 Return-path: Envelope-to: geb-bug-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 1fEf5q-0002NZ-2T for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 May 2018 20:06:06 +0200 Original-Received: from localhost ([::1]:35879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEf7u-0001OB-Bb for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 May 2018 14:08:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEf7n-0001Nl-3F for bug-gnu-emacs@gnu.org; Fri, 04 May 2018 14:08:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEf7i-0006f8-6O for bug-gnu-emacs@gnu.org; Fri, 04 May 2018 14:08:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42053) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fEf7i-0006f2-30 for bug-gnu-emacs@gnu.org; Fri, 04 May 2018 14:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fEf7h-0001iC-Ts for bug-gnu-emacs@gnu.org; Fri, 04 May 2018 14:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jonathan Kyle Mitchell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 May 2018 18:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31326 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch confirmed Original-Received: via spool by 31326-submit@debbugs.gnu.org id=B31326.15254572316526 (code B ref 31326); Fri, 04 May 2018 18:08:01 +0000 Original-Received: (at 31326) by debbugs.gnu.org; 4 May 2018 18:07:11 +0000 Original-Received: from localhost ([127.0.0.1]:49950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEf6s-0001hB-OX for submit@debbugs.gnu.org; Fri, 04 May 2018 14:07:10 -0400 Original-Received: from mail-ot0-f174.google.com ([74.125.82.174]:33088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEf6r-0001gz-Ok for 31326@debbugs.gnu.org; Fri, 04 May 2018 14:07:10 -0400 Original-Received: by mail-ot0-f174.google.com with SMTP id l22-v6so25468363otj.0 for <31326@debbugs.gnu.org>; Fri, 04 May 2018 11:07:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=hkGb9pdnBuiO8k/WmDUW4Ip7wqACzQfYGVRe6G+IgHI=; b=ESIu4zzy8+hm+FcfrakbCH+t3JQaPzHi+XWPX2ayOQ6/Aiq0XEB5ifaje8JYfDKQ/Z q57ZMlBhuu/LnxJ0vbmPwqblHvSn6tg2PzZzSiglpzt0NHe2Awxr5Tjncz+lRpaKB737 DWJogdabt7nXaAOdsNaBr39tM7/Ecc19zX1lIGhRKlQJvabA3vfgnTc+ilE45mki2W9U cZoipBXPzsKgeKL1wQ4q1XhT1ZJ+LgOW22G/gM6QH+NmF5ZbtcxrHJ0WAv6pCizHXKjD gl2u8iyWcddkgcf3mBYugDSzvTbe3lGf8F/l3SLzrtJ0GlpYS5sLz9cv+srKun1ZZDgP HwVA== X-Gm-Message-State: ALQs6tDndqBxwwGCPNdyVUQEy5h6w2Qmyhw9jFSD4zCKsFYzM76L9olL SVi6Cad/D2o7sc698VZkfdDghy2Vpus= X-Google-Smtp-Source: AB8JxZorpj0Cd+B8OYcPwNQa8sa7KTRz4NQD9+Sv6ffFVjchM5UQRePqDEOCP/xX/TFveKoo4DDsMw== X-Received: by 2002:a9d:3db7:: with SMTP id l52-v6mr2133986otc.80.1525457223488; Fri, 04 May 2018 11:07:03 -0700 (PDT) Original-Received: from ?IPv6:2601:2c3:8880:3cc9:1bb:120b:2836:75e9? ([2601:2c3:8880:3cc9:1bb:120b:2836:75e9]) by smtp.gmail.com with ESMTPSA id h125-v6sm5827006oic.54.2018.05.04.11.07.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 11:07:02 -0700 (PDT) In-Reply-To: <87lgczn1mj.fsf@gmail.com> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:146016 Archived-At: On 05/04/2018 05:42 AM, Noam Postavsky wrote: > tags 31326 + patch > quit > > Jonathan Kyle Mitchell writes: > >> I did a little more investigation into this issue. While I don't fully >> understand all the code paths of how it works, I found that let >> binding eshell-input-filter-functions to nil stops the infinite >> looping. >> Here's a diff for the change that works for me: >> -    (let ((eshell-input-filter-functions >> -           (remq 'eshell-add-to-history eshell-input-filter-functions))) >> +    (let ((eshell-input-filter-functions nil)) >>        (insert (make-string (window-size) ?\n)) >>        (eshell-send-input)))) > Makes sense, I'll push this to master in a few days. Have you assigned > copyright for Emacs? If no, I'll mark it as a tiny change. > > Thanks. No, I don't have any copyright papers signed. What's the process for doing that? -- Jonathan Kyle Mitchell