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#65604: [PATCH] Display the exit code if the last command failed in Eshell Date: Wed, 30 Aug 2023 22:25:34 +0300 Message-ID: <83fs40fi35.fsf@gnu.org> References: <87cyz5wjtm.fsf@mssdvd.com> <05108d35-d095-c975-78b8-6b00fc7e6a08@gmail.com> <87o7iolg6o.fsf@mssdvd.com> <83v8cwfphy.fsf@gnu.org> <87wmxc4ah3.fsf@mssdvd.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16795"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65604@debbugs.gnu.org, jporterbugs@gmail.com, me@eshelyaron.com To: Davide Masserut Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 30 21:27:20 2023 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 1qbQqV-0004DN-DT for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Aug 2023 21:27:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qbQq8-0000t9-4f; Wed, 30 Aug 2023 15:26:56 -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 1qbQq6-0000ss-9E for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 15:26:54 -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 1qbQq6-0004NX-0l for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 15:26:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qbQqD-0003Yp-MX for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 15:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Aug 2023 19:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65604 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 65604-submit@debbugs.gnu.org id=B65604.169342357513626 (code B ref 65604); Wed, 30 Aug 2023 19:27:01 +0000 Original-Received: (at 65604) by debbugs.gnu.org; 30 Aug 2023 19:26:15 +0000 Original-Received: from localhost ([127.0.0.1]:54096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbQpS-0003Xi-M8 for submit@debbugs.gnu.org; Wed, 30 Aug 2023 15:26:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbQpO-0003XR-HP for 65604@debbugs.gnu.org; Wed, 30 Aug 2023 15:26:13 -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 1qbQpB-0004FC-Dt; Wed, 30 Aug 2023 15:25:57 -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=DmCuHGRWKxiJhlw0ullo1QFZeiXdLvHHxguiuVMLRsM=; b=W1gYIh4RUUCs IEAtWoBECPGyEeq4lzStLeQbxTQqQrieK9d6KB+WbQOZ9fgJRPWGLEOIhy9RvhercyMp/VqUQADUE Pny808AkhhcntHeCM65NEXckHGEee9dK9VOWFUrmrrRDOkg5eXI7VWjfaeTx6oU57t99n/lqBMk3s 9r9tCGXy4add6AZMq+WviHWNKa3aNcGY2ZYd4/o7d/oePs1pvE2P9XEBBkHaK0awibR9TTsJRzMVq WOtWOFmlLEM3Bm/50gUb6wq2ZsyLNCejaebx7AT4PJgLeK6LtjPDokO0P6Y9C1tFED3fb/YeC9T/Q zEFkDxy9A74bWURTCbSIcQ==; In-Reply-To: <87wmxc4ah3.fsf@mssdvd.com> (message from Davide Masserut on Wed, 30 Aug 2023 21:02:00 +0200) 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:268750 Archived-At: > From: Davide Masserut > Cc: Eshel Yaron , 65604@debbugs.gnu.org, > jporterbugs@gmail.com > Date: Wed, 30 Aug 2023 21:02:00 +0200 > > Eli Zaretskii writes: > > > Why do you meed :eval at all? AFAIR, having a symbol in the > > mode line > > automatically uses its current value when the mode line is > > redrawn. > > Wouldn't this strip the symbol of its text properties? Sorry, I don't understand: what symbol and why do we care about its text properties? What I meant is that reference to a symbol in mode-line-format automatically uses the value of that symbol, unless I'm confused or misremembering.