From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55264 invoked by alias); 19 Jun 2019 19:26:26 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 55143 invoked by uid 89); 19 Jun 2019 19:26:25 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-8.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy= X-HELO: gateway33.websitewelcome.com Received: from gateway33.websitewelcome.com (HELO gateway33.websitewelcome.com) (192.185.146.97) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 19 Jun 2019 19:26:24 +0000 Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway33.websitewelcome.com (Postfix) with ESMTP id C1928196FCD for ; Wed, 19 Jun 2019 14:26:22 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id dgDuhSkfB4FKpdgDuhk72q; Wed, 19 Jun 2019 14:26:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6R5NA9MBO39IwdRVipy1aVtXxjAaEBjqc+ejQNdYhpA=; b=bdLZCRaaa1iEPgqBgkzAs+0xUV ntGaDrbEPf4nZUdPLLCm02buz/Hs3a7U7762QCwJw87LTfxEk3y41vuus917Jmyt6UDCGE52UfXDZ CkZpSn0m+mu7snIFi9kKKh4/X; Received: from 75-166-12-78.hlrn.qwest.net ([75.166.12.78]:47258 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hdgDu-003I4O-Hz; Wed, 19 Jun 2019 14:26:22 -0500 From: Tom Tromey To: Pedro Alves Cc: Philippe Waroquiers , Tom Tromey , gdb-patches@sourceware.org Subject: Re: [RFA 0/4] Improve "show style", use style in "help" and "apropos". References: <20190531131903.21203-1-philippe.waroquiers@skynet.be> <02aed9b6-1ce0-b48f-ed01-ef0fc0fa20b5@redhat.com> <1560888703.8865.1.camel@skynet.be> <87sgs6hb9f.fsf@tromey.com> <1560891176.8865.3.camel@skynet.be> <1560891478.8865.5.camel@skynet.be> <32b0b61b-755a-0ca9-b854-3e9db5d781ea@redhat.com> Date: Wed, 19 Jun 2019 19:26:00 -0000 In-Reply-To: <32b0b61b-755a-0ca9-b854-3e9db5d781ea@redhat.com> (Pedro Alves's message of "Tue, 18 Jun 2019 23:40:23 +0100") Message-ID: <87y31xe5r6.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2019-06/txt/msg00394.txt.bz2 >>>>> "Pedro" == Pedro Alves writes: Pedro> In other words, this would let us pipe with style. :-D Ouch. Pedro> In addition, "set style enabled" could be made an auto-boolean Pedro> setting, with default "auto", enable styling iff outputting to Pedro> a terminal. Then, "on" would force styling even if outputting Pedro> to a pipe. This would let you force styling with: Pedro> (gdb) with style enabled on -- | apropos -v breakpoint | less I like this idea. Tom