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.devel Subject: Re: Tweaking the output of `C-h b' Date: Mon, 01 Nov 2021 14:41:34 +0200 Message-ID: <83fssgm4jl.fsf@gnu.org> References: <87lf29xdkf.fsf@gnus.org> <87h7cxx9bh.fsf@gnus.org> <874k8xx8fc.fsf@gnus.org> <87ilxdorj9.fsf@gmail.com> <83mtmomuf8.fsf@gnu.org> <87cznkky0x.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12614"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, jonas@bernoul.li, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: =?utf-8?Q?K=C3=A9vin?= Le Gouguec Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 01 13:43:55 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mhWfL-00034f-CW for ged-emacs-devel@m.gmane-mx.org; Mon, 01 Nov 2021 13:43:55 +0100 Original-Received: from localhost ([::1]:43624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhWfK-0003XF-4X for ged-emacs-devel@m.gmane-mx.org; Mon, 01 Nov 2021 08:43:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46030) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhWdE-0001xt-ID for emacs-devel@gnu.org; Mon, 01 Nov 2021 08:41:44 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55356) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhWdC-0007M7-6K; Mon, 01 Nov 2021 08:41:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=3yDAz+5hj1ycF8JnnFRSAsLLKgR9JDSYP4UcXLRcgXQ=; b=kSiPzzsJoxy7L8QxaoBN 2V68p8PwUSJuuUpSMH55QgXew9ApsXLhARtxY7KuOyFCen/9S6EPVLxw+7NgE5pawGF7M+7KeeGhj 3c+yRlilVGoT2KPKggmCWLisPpWbxqGHaU1xLtCMjGEJ/nJVjiO3ESYVqiVbAd7PjeA5No4+i+xOw pw+KYDaAb8wFuaMpgJf3ecnFtm9um7AC8kN0IekLu0PHTMdkxj/F6+1Hp3Idv7zOsEaK7UOjN9GTG b5svRpEod5GXwF6UJ3sAg2KCm6rbqMMAj/LT5iSKr0f0KhmJTg3IY4Y14RTMVbDbl7YOE8MzjjFlq cqvZh3h8Ef0C7g==; Original-Received: from [87.69.77.57] (port=3942 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhWdB-0005wO-Nf; Mon, 01 Nov 2021 08:41:42 -0400 In-Reply-To: <87cznkky0x.fsf@gmail.com> (message from =?utf-8?Q?K=C3=A9vin?= Le Gouguec on Mon, 01 Nov 2021 10:47:42 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:278375 Archived-At: > From: Kévin Le Gouguec > Cc: larsi@gnus.org, jonas@bernoul.li, monnier@iro.umontreal.ca, > emacs-devel@gnu.org > Date: Mon, 01 Nov 2021 10:47:42 +0100 > > Eli Zaretskii writes: > > >> Jonas's magit-section (available on NonGNU ELPA) more or less does > >> exactly that: on the GUI, add chevrons to the left fringe (right chevron > >> means "hit TAB to expand", down chevron means "hit TAB to fold back"); > >> on the TUI, append ellipses to expandable sections. > > > > Don't we have similar stuff in Customize buffers? > > The UI elements (chevrons) are similar, yes; IIUC the main difference is > that magit-section uses fringe bitmaps, while Customize uses SVG > buttons. > > As for features, AFAICT: > > - magit-section is a reimplementation of outline-minor-mode which does > not rely on regexps to delimit sections: it supports arbitrary nesting > of subsections, and provides commands for visibility cycling and node > navigation (see magit-section-mode-map). > > - Meanwhile, Customize buffers "merely" provide ways to (un)fold single > entities (user options) and jump to the previous/next buttons (which > could be enough for the purposes of C-h b). > > (I hope my comparison is accurate; if I'm being unfair to either library > I'd love to stand corrected) I'm not sure we are talking about the same thing: I meant the Customize Group buffers, where you can expand and collapse individual options that belong to the group.