From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Rainer J.H. Brandt" Newsgroups: gmane.emacs.help Subject: eshell bug? extra TAB after prompt Date: Wed, 16 Aug 2023 13:48:05 +0200 (CEST) Message-ID: <25820.46965.494163.146131@mail.bb-c.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32727"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 16 13:48:48 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qWF16-0008I3-PM for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 16 Aug 2023 13:48:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWF0Y-00067D-RQ; Wed, 16 Aug 2023 07:48:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWF0W-00066x-BS for help-gnu-emacs@gnu.org; Wed, 16 Aug 2023 07:48:12 -0400 Original-Received: from www.bb-c.de ([78.46.91.35] helo=mail.bb-c.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_3DES_EDE_CBC_SHA1:192) (Exim 4.90_1) (envelope-from ) id 1qWF0T-00052t-NG for help-gnu-emacs@gnu.org; Wed, 16 Aug 2023 07:48:12 -0400 Original-Received: from owl.bb-c.de (p5b29f6e0.dip0.t-ipconnect.de [91.41.246.224]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Brandt & Brandt Computer GmbH", Issuer "Brandt & Brandt Computer GmbH" (not verified)) by mail.bb-c.de (Postfix) with ESMTPS id AD40F75C45 for ; Wed, 16 Aug 2023 13:48:05 +0200 (CEST) Original-Received: by owl.bb-c.de (Postfix, from userid 1001) id 7FF9A480; Wed, 16 Aug 2023 13:48:05 +0200 (CEST) X-Mailer: VM 8.2.0b under 27.1 (x86_64-pc-linux-gnu) Received-SPF: none client-ip=78.46.91.35; envelope-from=rjhb@bb-c.de; helo=mail.bb-c.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:144827 Archived-At: Hi, eshell often, but not always, prints an extra TAB immediately after the prompt. I have (setq eshell-prompt-regexp "$ " eshell-prompt-function (lambda nil "$ ")) but the problem is reproducible under "emacs -q". I use Emacs 27.1 under Ubuntu, but I've seen the problem on other installations, too. It often happens when the last word of the command was the result of completion, but I've seen exceptions to this rule. Is it a bug? (I couldn't find anything related to such a problem.) Or am I overlooking something? BTW: Is this the right place for questions about eshell? Thanks, Rainer J.H. Brandt