From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= Newsgroups: gmane.emacs.devel Subject: Re: Tweaking the output of `C-h b' Date: Sun, 31 Oct 2021 23:55:41 +0100 Message-ID: <87pmrkztw2.fsf@gmail.com> References: <87lf29xdkf.fsf@gnus.org> <87h7cxx9bh.fsf@gnus.org> <874k8xx8fc.fsf@gnus.org> <87r1c0x6ul.fsf@gnus.org> <87mtmox56x.fsf@gnus.org> <87ilxcx2kp.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21006"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Stefan Monnier , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 31 23:56:27 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 1mhJkY-0005FS-K9 for ged-emacs-devel@m.gmane-mx.org; Sun, 31 Oct 2021 23:56:26 +0100 Original-Received: from localhost ([::1]:45824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhJkX-0005cJ-1V for ged-emacs-devel@m.gmane-mx.org; Sun, 31 Oct 2021 18:56:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhJju-0004xy-2R for emacs-devel@gnu.org; Sun, 31 Oct 2021 18:55:46 -0400 Original-Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:45900) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mhJjs-0005ZF-FS for emacs-devel@gnu.org; Sun, 31 Oct 2021 18:55:45 -0400 Original-Received: by mail-wm1-x331.google.com with SMTP id g191-20020a1c9dc8000000b0032fbf912885so6620324wme.4 for ; Sun, 31 Oct 2021 15:55:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=xHhonx1vQg8qmEyV06S1hZ4oBnZKIWRGtxQC9TOKIYI=; b=AU2Nf4als5liP29WPqZRbBIeADSFc+Pnu52wx21MWjyh7Kp4rS4ZlutROByz2wn8YE hWW6X6f78NQSvzY2ZZfb1e6CaiSNCK6ZPQqG3HvV04kFVmTxb43emkdusgOCCAKpyp7E bOREGuTN/bJWsNak76Ng9LDVQuJ2TZJ4NtuVZ7i7+ejQ6NKiRQ/xK4zH1jcN3ww71ktY QJ8mNXpGnHHbZQtyNDjCmgWz89REZTvHdDYM+iTE3DyFkXZMphsga5sfnpSTIu6nnlxu dvPgkFeTvcbMlVSr3QLQVKWt4AGMHwfGhn65hyJqlu36OaiIvLAtoMZf3+G25Viw55YL svYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=xHhonx1vQg8qmEyV06S1hZ4oBnZKIWRGtxQC9TOKIYI=; b=xPJE0VjS3VC9OJkjBENqEH5Y+kMghj8ICWp4skM2J5N1/OcyoDFiUo5yiKM5DU5/WU TKI/1ydG5KvDKlOgTfnxtWUlkWp1chTg2xH7tySk4sOJYePfOt8W30qFCgjwpbbyj6Fa 61/mjMSCzXuFA4GasfhheB6Wa1ICpWNNuPdkBR9F/ERVlu0nznQaG2lOEt4s4QRwYvQ0 jgZNPEBg6tuY5cxMZLFW6tUt7YM9gH/C0yg5pgUNit71nUvRwYmEWIcm4FUmlLjYroc0 HBC8QWZCvjCgkfooE2k51dyYSwDFuW8AuuWxZ+QNqC6CAsbOUUShgiqJC8Z8UmMSjnjG r40A== X-Gm-Message-State: AOAM5310ndi/ufUet6cv01CpHX+Gg7xIRYc4nlPGuZXyTqlnIzo+oxvX UqxMrA7PuNtXPyL7j+u0T2RkwjPvj+Y= X-Google-Smtp-Source: ABdhPJwSK6jWNSiFvEDdVZMZMPTQKH+Cy3n6ug3Nb/9Qa4INyU6bgxzp/U30WkZ0JRDzbhUZPKOiDg== X-Received: by 2002:a1c:f712:: with SMTP id v18mr35491976wmh.37.1635720942658; Sun, 31 Oct 2021 15:55:42 -0700 (PDT) Original-Received: from amdahl30 ([2a01:e0a:253:fe0:2ef0:5dff:fed2:7b49]) by smtp.gmail.com with ESMTPSA id c1sm9277772wrt.14.2021.10.31.15.55.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Oct 2021 15:55:42 -0700 (PDT) In-Reply-To: <87ilxcx2kp.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 31 Oct 2021 23:16:22 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=kevin.legouguec@gmail.com; helo=mail-wm1-x331.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:278346 Archived-At: Lars Ingebrigtsen writes: > Stefan Monnier writes: > >> Indeed, you can click on it with the mouse, but I don't think we offer >> a mechanism to do that from the keyboard (not sure if clicking with the >> mouse in a tty can do it either). > > I've now implemented this and pushed it to master. It probably should > be tweaked some (and I only tested the outline stuff in a *Help* buffer, > so if somebody could check whether I broke something in more advanced > Outline minor-mode buffers, that'd be nice). Nice work! Some nits: - Should the variable names include _minor-mode_? Is there a reason these buttons could not be used in the Outline major mode (which would make them usable in Org)? (FWIW I tried to enable this in NEWS, but the buttons did not seem very functional there) - Customize has recently gained new SVG icons, among which the exact same chevrons. I happen to quite like the way they look; any chance these icons could be reused for this feature, at least as an option? - For some reason, emacs -Q C-h b C-x o ; move to *Help* buffer n ; move to "Major Mode Bindings" button RET =E2=80=A6 moves point back one character, instead of folding the bindings? Despite the nits, this all looks very nice. Thanks a lot!