Subject: Re: bug#48770: Command `eshell-command` raises error when `eshell-hist-ignoredups` is 'erase

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 03 Jun 2021 09:51:03 +0200

Okam <[email-masked]> writes:

> 1. Start Emacs with `emacs -Q`
> 2. Evaluate `(setq eshell-hist-ignoredups 'erase)`
> 3. Run `M-x eshell-command`
> 4. Run a command, such as `ls`.
> 5. The error "ring-remove: Ring empty" is signaled.
> 6. The directory listing is not created.

Thanks for the clear recipe.  With that, I was able to reproduce the
problem, and I've now pushed a fix to Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no