all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Jonathan Kyle Mitchell <kyle@jonathanmitchell.org>
Cc: 31326@debbugs.gnu.org
Subject: bug#31326: 27.0.50; eshell/clear exceeds max-lisp-eval-depth
Date: Fri, 04 May 2018 06:42:12 -0400	[thread overview]
Message-ID: <87lgczn1mj.fsf@gmail.com> (raw)
In-Reply-To: <16d9d5de-de45-4585-14a1-5f2701314bc5@jonathanmitchell.org> (Jonathan Kyle Mitchell's message of "Wed, 2 May 2018 23:09:55 -0500")

tags 31326 + patch
quit

Jonathan Kyle Mitchell <kyle@jonathanmitchell.org> 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.







  reply	other threads:[~2018-05-04 10:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-01  6:08 bug#31326: 27.0.50; eshell/clear exceeds max-lisp-eval-depth Jonathan Kyle Mitchell
2018-05-01 12:21 ` Noam Postavsky
2018-05-03  4:09   ` Jonathan Kyle Mitchell
2018-05-04 10:42     ` Noam Postavsky [this message]
2018-05-04 18:07       ` Jonathan Kyle Mitchell
2018-05-04 20:16         ` Eli Zaretskii
2018-05-05  0:53           ` Jonathan Kyle Mitchell
2018-05-05  6:40             ` Eli Zaretskii
2018-07-11  1:30       ` Noam Postavsky

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=87lgczn1mj.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=31326@debbugs.gnu.org \
    --cc=kyle@jonathanmitchell.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.