From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73951: 29.4; 'what-cursor-position' reports SPC instead of TAB in term-mode Date: Tue, 22 Oct 2024 20:40:57 +0300 Message-ID: <868qugf32u.fsf@gnu.org> References: <87cyjsf63l.fsf@toomas.mail-host-address-is-not-set> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26515"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73951@debbugs.gnu.org To: toomas@rosin.ee Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 22 19:41:57 2024 Return-path: Envelope-to: geb-bug-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 1t3ItH-0006jh-61 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Oct 2024 19:41:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t3It3-0006OR-4N; Tue, 22 Oct 2024 13:41:41 -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 1t3Isy-0006O7-Km for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2024 13:41:37 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t3Isx-0004mr-HN for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2024 13:41:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=MJv5Iyp6oJNqyMTc2Tzsqwt2tMLr7vi4vbmUlWPvA9A=; b=sSTtj/pbZmzGru72ECAucCGwiZHlnlggGM+MAWy8KIh7CFCZNfd/+ADOVJUcDWRg49WZadVZBDVRtt8ONrrSEuIn7VSkxNF6/3dJdumZeySiJ+g8LI17Gv13w+TFErG5GSENI9McAwwirjsbD8sB1aQXUg++Pe61a3dIuiBkYyHydZ9nYsaV1gNdAeHKwJHsTiWayfnMdSx5Uxyl3tPNKGIHVHLSMo+ZQY6Izgp90WkpfH72FwBlsr+l9+GyD0cfvaJZY/8g9O+fPYcRO3Nyix7Jska9iBX4iHnefYzoWNG70UCv2Y/ujYFVhXrPh4aT5IXqxU766/WY+Ac67REo5g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t3ItO-0006if-Je for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2024 13:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Oct 2024 17:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73951 X-GNU-PR-Package: emacs Original-Received: via spool by 73951-submit@debbugs.gnu.org id=B73951.172961889825793 (code B ref 73951); Tue, 22 Oct 2024 17:42:02 +0000 Original-Received: (at 73951) by debbugs.gnu.org; 22 Oct 2024 17:41:38 +0000 Original-Received: from localhost ([127.0.0.1]:57139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3It0-0006hx-6O for submit@debbugs.gnu.org; Tue, 22 Oct 2024 13:41:38 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3Isx-0006hf-7B for 73951@debbugs.gnu.org; Tue, 22 Oct 2024 13:41:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t3IsO-0004lk-Dz; Tue, 22 Oct 2024 13:41:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=MJv5Iyp6oJNqyMTc2Tzsqwt2tMLr7vi4vbmUlWPvA9A=; b=Nzzd+dCYLUOk SIooLq1U3LnGV9jee8nCTFtw0U+io2jn1V9ovniR6hug++o1Poi4xXq5ZG7PbQuOWbfrheXX+Dkj0 IONxdnSEYYVwI+xHC2JsCHep5z/RztvaJhC9KdVpsjOov8qLHPVsTzr1xYi2GPpHO6M1GCHdrIVW8 zoXlqBexwLlp6KQ4O4qn4vZh7x6JEaVp+c8zyKDQdPpkyHuhSRWTQYwU8EzO6FJbm+Czk7p3U9oXz BN3NFvWlRHLvqSr41PabiqhXew2Nr9eVlba1iJWKRUhCDOeni30E7inGEGBsnjYOCxibzljgYT+U1 JLhT9ll3jasuksSxLcWYbQ==; In-Reply-To: <87cyjsf63l.fsf@toomas.mail-host-address-is-not-set> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:294120 Archived-At: > From: toomas@rosin.ee > Date: Tue, 22 Oct 2024 19:35:42 +0300 > > > How to reproduce on my system: > > Start: emacs -Q > Type: M-x term RET > On Emacs prompt "Run program: /bin/bash", type: RET > The *terminal* buffer appears. > On Bash prompt, type: echo 'a TAB b' RET > Bash prints: "a b" (a TAB b), and displays new prompt. I cannot reproduce this because when I press TAB, I get a bell, i.e. TAB is not printed. Which is consistent with what TAB produces outside Emacs, when I type it at Bash prompt: Bash attempts to perform completion on what I typed. So I guess your recipe is missing something, or maybe your Bash init file customizes Bash in some way. If someone can reproduce this, please tell if I'm missing something here.