From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: questions about correct reveal-mode usage to hide passwords Date: Fri, 12 Jun 2020 17:08:17 +0000 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: References: <4973bec9-0abf-8f55-0b60-0879b6fe1fa7@gmail.com> <4krg9s2y.fsf@lifelogs.com> <1864384a-e0a4-8fa0-1185-4393bc104b17@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="96735"; 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: =?iso-8859-1?Q?Cl=E9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 12 19:09:04 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 1jjnAu-000P2d-2t for ged-emacs-devel@m.gmane-mx.org; Fri, 12 Jun 2020 19:09:04 +0200 Original-Received: from localhost ([::1]:46226 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjnAt-00081V-40 for ged-emacs-devel@m.gmane-mx.org; Fri, 12 Jun 2020 13:09:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjnAK-0007HA-C1 for emacs-devel@gnu.org; Fri, 12 Jun 2020 13:08:28 -0400 Original-Received: from mail-qt1-x82a.google.com ([2607:f8b0:4864:20::82a]:36999) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjnAI-0004Rj-JY for emacs-devel@gnu.org; Fri, 12 Jun 2020 13:08:28 -0400 Original-Received: by mail-qt1-x82a.google.com with SMTP id d27so7684007qtg.4 for ; Fri, 12 Jun 2020 10:08:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=from:to:cc:subject:organization:references:mail-copies-to:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=IJeV3eoqxc02DwFIx2aEt2SSI27IWtYupagfX4r8CJk=; b=E7lYjlciOzbogz1JdHqJeegCVTbdwPAYO+i0GkFrxmHKvabsiwcUADX8GzJ8Z5RPme 7XT+23vMYzOvHZVnce0ygAdzz8ZKGspTrHCVIbkBj/TRrZhs5/UQS/qjGUPF5JnLv91O PgYANUPn6wngnw5OyCW2GXdThQ9QUpZaRiiEM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-copies-to:date:in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=IJeV3eoqxc02DwFIx2aEt2SSI27IWtYupagfX4r8CJk=; b=nVhpI3TbRiuS979n+EMYJiOdlNvWaw+DBJIs8Kd5r2n2zwFmReRzOAoLfsycoWBaNN FXI6fLcwaD+cWCyCmPdPHrREoMd0a6vvsnD/42s/NCg5RLc5CBRbLalFL8x7BXjFhcEL m4jjrde15IJDntW7w2mU7YeLk+QYLa0ocvVcJm0ULC3o+ERfAm2+/S+1OdMRgCuN8fqy ogME1Oq5/YB4zR4vuq/Jd/jYmgAUmmuJnGAXkYXBCrki+BcCmliiOm3vg66kw2o4gUBk hFjiw1ObyXUGImamHJK5zLAVqFJ7ytA2bD4OiOhhHbFfzPKjc5AM3DBIu9shEEf1G7Rd aSoQ== X-Gm-Message-State: AOAM532Cm9VHgkoM5gGdzE3GPXur/M2/MYhupIBpV8VaEvtKPKGbuYPn 9DOKdbxdjiNcHX1bVKrRzski5bz3U823kA== X-Google-Smtp-Source: ABdhPJx31ETFBk7ssEAfC1VHYWH+bnfKOIZw/dzc4Uadb3OG89QnnLFLbpqLbZKmIGEAkcSkb7oYRg== X-Received: by 2002:aed:3fb4:: with SMTP id s49mr4212232qth.16.1591981698862; Fri, 12 Jun 2020 10:08:18 -0700 (PDT) Original-Received: from flea (c-76-28-41-155.hsd1.ma.comcast.net. [76.28.41.155]) by smtp.gmail.com with ESMTPSA id l2sm5724342qtc.80.2020.06.12.10.08.17 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Jun 2020 10:08:17 -0700 (PDT) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never In-Reply-To: <1864384a-e0a4-8fa0-1185-4393bc104b17@gmail.com> (=?iso-8859-1?Q?=22Cl=E9ment?= Pit-Claudel"'s message of "Fri, 12 Jun 2020 12:35:11 -0400") Received-SPF: none client-ip=2607:f8b0:4864:20::82a; envelope-from=tzz@lifelogs.com; helo=mail-qt1-x82a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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:252140 Archived-At: On Fri, 12 Jun 2020 12:35:11 -0400 Cl=E9ment Pit-Claudel wrote:=20 CP> On 12/06/2020 12.17, Ted Zlatanov wrote: >> Let me know if you have strong objections or any suggestions, otherwise >> in a day or two I'll document and push this patch. CP> If you go this route, I would recommend extracting functionality shared= between CP> this and prettify-symbols-mode into a separate library; otherwise, won'= t you CP> have conflicts between the password-hiding patterns and the prettificat= ion CP> patterns? Additionally, I'd be surprised if turning of prettification a= lso CP> revealed passwords. You're describing what I thought reveal-mode would do. It's a good point, and factoring the functionality out to a library makes a lot of sense. Let's see if Stefan and others agree with the approach--remember, he recommended using jit-lock. Once we have a solid foundation for this functionality, I'm happy to start on the library. Ted