[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31326: 27.0.50; eshell/clear exceeds max-lisp-eval-depth
From: |
Noam Postavsky |
Subject: |
bug#31326: 27.0.50; eshell/clear exceeds max-lisp-eval-depth |
Date: |
Fri, 04 May 2018 06:42:12 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
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.