From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Tweaking the output of `C-h b' Date: Sun, 31 Oct 2021 21:44:02 +0100 Message-ID: <87r1c0x6ul.fsf@gnus.org> References: <87lf29xdkf.fsf@gnus.org> <87h7cxx9bh.fsf@gnus.org> <874k8xx8fc.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23130"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 31 21:45:04 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 1mhHhP-0005p5-98 for ged-emacs-devel@m.gmane-mx.org; Sun, 31 Oct 2021 21:45:03 +0100 Original-Received: from localhost ([::1]:42812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhHhO-0008Sg-AN for ged-emacs-devel@m.gmane-mx.org; Sun, 31 Oct 2021 16:45:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhHgZ-0007lu-7q for emacs-devel@gnu.org; Sun, 31 Oct 2021 16:44:11 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:60312) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhHgX-0005Bl-Qk for emacs-devel@gnu.org; Sun, 31 Oct 2021 16:44:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; 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=fgyRm/atGS1C10VmQ9jnmxt/cO7ZShqAq/XC0EBUWVg=; b=dSd61pGs0UD5GVcmvjOuEhbI4K jPIQNiplU1t/2JuOGK4WZW9BQJPd9G2s0G+azo3Lpv+RZoYXHgN4ie/UE839lj/KJ5XKagiDFJ9EI E0bg1Nnf4tPB27et02opkGSIron6l6poRgyy/LmJwahqcjoGi+K8lSFCP0bMcu64lnT8=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mhHgQ-0006dP-Op; Sun, 31 Oct 2021 21:44:05 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUCAgQcHS9BRFth aI2gprd+hLXp7PP////jB7ddAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UKHxQVCOrWGnMAAAG7SURB VDjLvZNNc+MgDIaRk72D0t4NuHtuAOec2IRz44+9r034/z9hhTvpxDvucfe9MKMHSa+Qzdg/Em5G C6nU9vUCzXcZYhOAEPw7sJ3BALYz/oc4lNue+P7G+CZ47dZ+4XNgECDXQDyJAGwS9gzgr5QvIcBm nAGsaz0R9SUp1inaWmUXrYcXOI79mFWX61K88tZn2fVbgCyMCYl0fAZYokSuTxSPJTV/WIaCzKA4 ZDCtOhcGlaiWShON9PhM0Vpj7bDE0yx0/5jE+fYtDkuYoCLGcenyM7ZVrHK8rk/EZqVrk5EL0356 yY4kvuXDj9dBkm0d5pf3xWrHfjg6Gz20SA4wzQdMNQHB4BBSmHb+oj8Ye00zVp2mqxearUpN4PE2 OWruIyrpliacHVKyZyf6Xcn66q4OLo9hGg74K93VXlxo8cY1lacZTuG3oQ06DA3wDHSwdL1xuvGM ZrOxpT/0Qi+pfa4zY9e270AguVveBGd19D7E4YhaSSZM1UvsOBP5ra45pWUFAIGdS2e97Nf73qU4 +J5TAaZ21svPD9VfRzJ17+gfz6A47s96efbkl1VEdSTECyFZqfJ2/wD0b20EJXtFTgAAACV0RVh0 ZGF0ZTpjcmVhdGUAMjAyMS0xMC0zMVQyMDoyMTowOCswMDowMOYOq1QAAAAldEVYdGRhdGU6bW9k aWZ5ADIwMjEtMTAtMzFUMjA6MjE6MDgrMDA6MDCXUxPoAAAAAElFTkSuQmCC X-Now-Playing: Coil's _Musick to Play in the Dark (Vol 1)_: "Red Birds Will Fly Out of the East and Destroy Paris in a Night" In-Reply-To: (Stefan Monnier's message of "Sun, 31 Oct 2021 16:13:37 -0400") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, 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:278336 Archived-At: Stefan Monnier writes: >> Yes, that'd be nice. Perhaps with a user option to toggle between >> classic "..." outlining and triangles? > > I don't see we can't have both, Why not indeed. Looking at outline-minor-mode, it just uses the standard Emacs invisibility thing, so it just applies text properties without altering the text of the buffer, which is nice. What's the best way to add some buttons, then? Zero-length overlays with display/local-map properties at the start of the line? No, doesn't seem to work... An overlay covering the first character, and then repeating the first char as the last element in the display property? Yes, that's seems to work. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no