From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#30186: 27.0.50; Password is not hidden in read-passwd Date: Fri, 26 Jan 2018 20:00:27 +0000 Message-ID: <20180126200027.GB5056@ACM> References: <83zi57qk2w.fsf@gnu.org> <87bmhm7wbw.fsf@mail.linkov.net> <87y3kp8thj.fsf@mail.linkov.net> <87372w8ddp.fsf@mail.linkov.net> <20180125173937.GA3857@ACM> <87vafp7i82.fsf@mail.linkov.net> <20180126183702.GA5056@ACM> <831sicl9p3.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1516997265 23292 195.159.176.226 (26 Jan 2018 20:07:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 26 Jan 2018 20:07:45 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: 30186@debbugs.gnu.org, juri@linkov.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 26 21:07:40 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1efAHG-00041T-Vr for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jan 2018 21:07:11 +0100 Original-Received: from localhost ([::1]:50213 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efAJH-0007Sw-Hq for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jan 2018 15:09:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efAJA-0007Se-Ki for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2018 15:09:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1efAJ6-0001Er-K4 for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2018 15:09:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36186) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1efAJ6-0001Ed-EM for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2018 15:09:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1efAJ5-00034M-P7 for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2018 15:09:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jan 2018 20:09:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30186 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30186-submit@debbugs.gnu.org id=B30186.151699730911745 (code B ref 30186); Fri, 26 Jan 2018 20:09:03 +0000 Original-Received: (at 30186) by debbugs.gnu.org; 26 Jan 2018 20:08:29 +0000 Original-Received: from localhost ([127.0.0.1]:44083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1efAIX-00033M-Av for submit@debbugs.gnu.org; Fri, 26 Jan 2018 15:08:29 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:17836 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1efAIV-00033E-Rf for 30186@debbugs.gnu.org; Fri, 26 Jan 2018 15:08:28 -0500 Original-Received: (qmail 42406 invoked by uid 3782); 26 Jan 2018 20:08:26 -0000 Original-Received: from acm.muc.de (p548C775F.dip0.t-ipconnect.de [84.140.119.95]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 26 Jan 2018 21:08:25 +0100 Original-Received: (qmail 7502 invoked by uid 1000); 26 Jan 2018 20:00:27 -0000 Content-Disposition: inline In-Reply-To: <831sicl9p3.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:142559 Archived-At: Good evening, Eli. On Fri, Jan 26, 2018 at 21:08:24 +0200, Eli Zaretskii wrote: > > Date: Fri, 26 Jan 2018 18:37:02 +0000 > > From: Alan Mackenzie > > Cc: 30186@debbugs.gnu.org > > The problem here appears to be a fundamental design bug in Emacs: that > > text properties are regarded as part of the buffer rather than something > > accompanying the buffer, as overlays are. > It's not a bug, it's a feature (and a very important one). Yes. We see its utility in read-passwd. But don't worry, I wasn't proposing to "fix" it. :-) Do you have any opinion on my suggestion: > > Perhaps an alternative would be for Emacs to provide a flag which > > indicates to a before/after-change-function whether the current > > change is a "proper" change or merely a text property change. > > Change hook functions could then test this flag and, for example, > > refrain from doing anything for a text property change. -- Alan Mackenzie (Nuremberg, Germany).