From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Amin Bandali Newsgroups: gmane.emacs.devel Subject: Re: master 893111f 2/2: Hide passwords in .authinfo and .netrc files Date: Sat, 21 Sep 2019 10:05:36 -0400 Message-ID: <875zllkamn.fsf@fencepost.gnu.org> References: <20190921100408.13688.51289@vcs0.savannah.gnu.org> <20190921100410.7BD4A20520@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="208877"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Lars Ingebrigtsen To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 21 16:05:49 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iBg1F-000sFL-K4 for ged-emacs-devel@m.gmane.org; Sat, 21 Sep 2019 16:05:49 +0200 Original-Received: from localhost ([::1]:42058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iBg1D-00076w-Ud for ged-emacs-devel@m.gmane.org; Sat, 21 Sep 2019 10:05:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34991) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iBg15-00075A-UE for emacs-devel@gnu.org; Sat, 21 Sep 2019 10:05:40 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iBg15-000365-Dv; Sat, 21 Sep 2019 10:05:39 -0400 Original-Received: from [2607:fea8:3b80:1ea:d90a:60e8:b717:5a5c] (port=47914 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iBg14-0005l4-Rf; Sat, 21 Sep 2019 10:05:39 -0400 In-Reply-To: <20190921100410.7BD4A20520@vcs0.savannah.gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:240218 Archived-At: larsi@gnus.org (Lars Ingebrigtsen) writes: > + (while (re-search-forward "\\bpassword +\\([^\n\t ]+\\)" Would it make more sense to use '\s-' rather than '\b' here? With '\b', it will match the =E2=80=98password=E2=80=99 in an entry like `gnus-canlock= -password' and thus wrongly add the display property to the next word, in this case =E2=80=9Cpassword=E2=80=9D, rather than to the actual password itself.