From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Tweaking the output of `C-h b' Date: Sun, 31 Oct 2021 16:48:53 -0400 Message-ID: References: <87lf29xdkf.fsf@gnus.org> <87h7cxx9bh.fsf@gnus.org> <874k8xx8fc.fsf@gnus.org> <87r1c0x6ul.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="4414"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 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 21:49:38 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 1mhHlq-0000uZ-Jd for ged-emacs-devel@m.gmane-mx.org; Sun, 31 Oct 2021 21:49:38 +0100 Original-Received: from localhost ([::1]:45914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhHlo-0002ai-R7 for ged-emacs-devel@m.gmane-mx.org; Sun, 31 Oct 2021 16:49:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhHlF-0001v0-0A for emacs-devel@gnu.org; Sun, 31 Oct 2021 16:49:01 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:25188) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhHlB-0007QE-KX for emacs-devel@gnu.org; Sun, 31 Oct 2021 16:48:59 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id D069D441418; Sun, 31 Oct 2021 16:48:55 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 89BDF4418CD; Sun, 31 Oct 2021 16:48:54 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1635713334; bh=ClV+/bH/hbn/aydz84TknUU7GHEn7jxWjJRPJaC1yiw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=YJV8pXHEFm7teth4WdYKrdEWoOjXHVZ4Z0CgmIlf8MECVMrP38/A878+6fh5ByM1A VwE7GLWG5RCv/oPu5XrIsFXy/MkCMG7XNNj9jo/vpkjrRl7Ti7zGiwBMf0RgVMhxmj 4/5qd1dlWXZUaMZJ5iltti5bMiMg0/3J1e+NYTRVb7zLTUgqaOYPf3p/CftA58y8M8 E/BnmWpC2Sji521aOb7mzDGXW2InS9JsmKMVAPTMtaq277rG5n4fL9S6TaLL2R7/vW PbpJ152mzjHKhrWa1T+IGZKKNPIQIp2ZxLJ84XyInr5DChXCPQmVlya/2k7H4SpWIy x5wlZcRv6sbMg== Original-Received: from pastel (unknown [45.72.241.23]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 54929120622; Sun, 31 Oct 2021 16:48:54 -0400 (EDT) In-Reply-To: <87r1c0x6ul.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 31 Oct 2021 21:44:02 +0100") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-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:278337 Archived-At: > buttons, then? Zero-length overlays with display/local-map properties > at the start of the line? No, doesn't seem to work... IIRC it can be an overlay (zero-width or other) with an `after/before-string` with `display` property. > 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. And this should also work with a property (i.e. as a text-property), IIRC. Stefan