From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Marvin =?UTF-8?Q?G=C3=BClker?= Newsgroups: gmane.emacs.bugs Subject: bug#34224: 25.1; ansi-term displays garbage on tree(1) command Date: Mon, 28 Jan 2019 14:10:53 +0100 Message-ID: <20190128131053.fdxv6giultliuocn@atlantis> References: <87munm7z0o.fsf@atlantis.i-did-not-set--mail-host-address--so-tickle-me> <9e65e535-9295-14b1-86ca-8372eeebcb58@orcon.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="58580"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: NeoMutt/20170113 (1.7.2) Cc: 34224@debbugs.gnu.org To: Phil Sainty Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 28 14:12:18 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1go6hy-000F2A-1y for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Jan 2019 14:12:14 +0100 Original-Received: from localhost ([127.0.0.1]:60047 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1go6hx-0004p6-3Q for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Jan 2019 08:12:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1go6ho-0004oK-5Q for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 08:12:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1go6hn-0004Kf-7j for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 08:12:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49034) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1go6hm-0004Jt-Of for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 08:12:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1go6hm-0003IA-BU for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 08:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Marvin =?UTF-8?Q?G=C3=BClker?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Jan 2019 13:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34224 X-GNU-PR-Package: emacs Original-Received: via spool by 34224-submit@debbugs.gnu.org id=B34224.154868106312585 (code B ref 34224); Mon, 28 Jan 2019 13:12:02 +0000 Original-Received: (at 34224) by debbugs.gnu.org; 28 Jan 2019 13:11:03 +0000 Original-Received: from localhost ([127.0.0.1]:48315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1go6gp-0003Gu-IL for submit@debbugs.gnu.org; Mon, 28 Jan 2019 08:11:03 -0500 Original-Received: from mx.shared.smtp.dk ([93.90.117.179]:36320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1go6gn-0003GS-NZ for 34224@debbugs.gnu.org; Mon, 28 Jan 2019 08:11:03 -0500 Original-Received: from montblanc.guelker.eu (unknown [193.25.100.36]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: outmail@guelker.eu) by mysmtp.com (Postfix) with ESMTPSA id 43p90K54kRz2xLq; Mon, 28 Jan 2019 14:07:45 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: mg) by montblanc.guelker.eu (Postfix) with ESMTPSA id 3B251E06A4; Mon, 28 Jan 2019 13:10:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=guelker.eu; s=montblanc; t=1548681059; bh=eu1YL6QKHFLwpvH3mgmfm/qYOejeRUWMgJZZ4YSNXuE=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=NP2QDzntND/CwnfEfRN9+RdvJDoMGd+fe0GvVUZhRhlgp0f9vtOvJyjHwLpa3FdGe RbepjbhhHg10otWS1MjoO1E57lV4YSq4QN6qW0oJXx5Wxb/F8gCazxfW12LHDRwa7/ LkV0BNr6JZspN/kaobGshi6cQwwbh3Y3NwQ6kEHI= Content-Disposition: inline In-Reply-To: <9e65e535-9295-14b1-86ca-8372eeebcb58@orcon.net.nz> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:154841 Archived-At: Am 29. Januar 2019 um 00:03 Uhr +1300 schrieb Phil Sainty: > FYI I can't replicate that in 25.3 or 26.1 under Ubuntu GNU/Linux 18.04. > > (i.e. The tree output looks correct to me.) > > Does the same thing happen if you run emacs -Q ? Yes, it happens with emacs -Q. But when I reported the bug, I forgot that since pretty much forever I had an alias for "tree" in my zsh config that aliases the tree command to "tree -AC". Removing the alias solves the problem. Fiddling shows the it's the -A option that causes the problem. So, the actual problem is that ansi-term doesn't work with tree's -A option. Given that the -A option is declared as a "hack" in tree's manual page, I don't know whether it should actually be cared about. I don't really remember what made me turn this option on in my alias. Since a few years I use urxvt as my terminal emulator, so it might have been a faulty terminal emulator. When I switched to urxvt, I probably forgot about it. urxvt never had a problem with that option, though. > Are you able to install 25.3 for testing? Yes, I just compiled it from source. The problem still exists with emacs 25.3. > Perhaps this is just a font problem at your end? See above; it's tree's -A option. Marvin -- Blog: https://mg.guelker.eu PGP/GPG ID: F1D8799FBCC8BC4F