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 17:27:12 -0400 Message-ID: References: <87lf29xdkf.fsf@gnus.org> <87h7cxx9bh.fsf@gnus.org> <874k8xx8fc.fsf@gnus.org> <87r1c0x6ul.fsf@gnus.org> <87mtmox56x.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="23335"; 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 22:28: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 1mhINO-0005uX-Qf for ged-emacs-devel@m.gmane-mx.org; Sun, 31 Oct 2021 22:28:27 +0100 Original-Received: from localhost ([::1]:39508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhINN-0002Yn-IW for ged-emacs-devel@m.gmane-mx.org; Sun, 31 Oct 2021 17:28:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhIMb-0001uC-5P for emacs-devel@gnu.org; Sun, 31 Oct 2021 17:27:37 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:18353) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhIMX-0005Bs-Jw for emacs-devel@gnu.org; Sun, 31 Oct 2021 17:27:35 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 3A7664418E0; Sun, 31 Oct 2021 17:27:31 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 3497E4418ED; Sun, 31 Oct 2021 17:27:14 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1635715634; bh=EH7T4UGMRr6OBcZdFWqfJxS+k4bjDTYVcYbd7bl4Rvg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=pMoFX8CD1Jkn0b+jBb/nF+mUioSqxHp3nOEU15D+33WVNX4oid6VAjLcn6n0hOTBr NZ2gyghnJtG9Ekh94lwA3oRq22vAuwzlm/lII/GKawKl5VQsKgkD+n2yTbSoQEEwyk BR961GGWCd8rifOjcnjPo9TArPnfRoqJO7Ik6wzgNKJPt+ZzBOCX4higjhHcXpPFQI 1zAn8nsQVHnx5efGpkv4Ki2u88wGHX0EkUo8XGBZUMnt2tsts48oOpVrSqfp20xoRZ XNnle0caIQCn0q+PpQKj1JE7NAecP2+NOCMTjEDix+RRrRdZ1CNpkI3koJS/ux4ypl AUCYitXv23rgw== Original-Received: from pastel (unknown [45.72.241.23]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 069401204DC; Sun, 31 Oct 2021 17:27:13 -0400 (EDT) In-Reply-To: <87mtmox56x.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 31 Oct 2021 22:19:50 +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:278341 Archived-At: >> IIRC it can be an overlay (zero-width or other) with an >> `after/before-string` with `display` property. > I tried that now, but then I couldn't move point to the displayed > string? 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). That's a problem we should fix regardless of this discussion. >>> 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. [ Hmm... sorry for this brain misfire. Instead of "with property" I distinctly remember intending to write "without overlay". Probably an alpha particle hitting my brain just at the wrong moment, flipping some neuron. ] Stefan