From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: scratch/tzz/auth-source-reveal-mode 4a7c98d 3/3: Create and document auth-source-reveal-mode Date: Wed, 24 Jun 2020 21:36:34 +0300 Message-ID: <83v9jgs43x.fsf@gnu.org> References: <20200622191653.26453.39420@vcs0.savannah.gnu.org> <20200622191656.2D20920A26@vcs0.savannah.gnu.org> <83a70sts32.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="46177"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 24 20:37:24 2020 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 1joAGx-000Bv0-Vj for ged-emacs-devel@m.gmane-mx.org; Wed, 24 Jun 2020 20:37:23 +0200 Original-Received: from localhost ([::1]:59024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1joAGx-00006o-0X for ged-emacs-devel@m.gmane-mx.org; Wed, 24 Jun 2020 14:37:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1joAGS-00088y-OG for emacs-devel@gnu.org; Wed, 24 Jun 2020 14:36:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53652) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1joAGR-0003o4-VC; Wed, 24 Jun 2020 14:36:51 -0400 Original-Received: from [176.228.60.248] (port=4791 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1joAGR-0003io-9t; Wed, 24 Jun 2020 14:36:51 -0400 In-Reply-To: (message from Ted Zlatanov on Wed, 24 Jun 2020 18:15:05 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:252530 Archived-At: > From: Ted Zlatanov > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > Date: Wed, 24 Jun 2020 18:15:05 +0000 > > EZ> Alternatively, if the purpose is to display some text as something > EZ> else, we already have display properties and overlays that can be (and > EZ> are) used for implementing such features; why not use them instead? > > I would welcome help in implementing the prettify-text-* internals > better (supporting bidirectional script and anything else you would > consider required) and asked for help with it earlier. I'll need a hand > from someone knowledgeable, or at least a pointer to code that provides > the same functionality as `prettify-symbols-mode' in a way that's > acceptable. I listed the functionality in (1) above. I would like first to understand why you thought about using the prettify-symbols-mode technique for this. The natural features to use for displaying some text instead of what's in the buffer are 'display' text properties and overlay strings, and the natural feature for hiding some text is the 'invisible' text property. So why didn't you use these features to begin with? What am I missing? Thanks.