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: Sat, 27 Jan 2018 09:21:24 +0000 Message-ID: <20180127092124.GA4049@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> <5A6C3802.1050603@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1517045306 4902 195.159.176.226 (27 Jan 2018 09:28:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 27 Jan 2018 09:28:26 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: 30186@debbugs.gnu.org, Juri Linkov To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 27 10:28:21 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 1efMmP-0000Eb-OD for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jan 2018 10:28:09 +0100 Original-Received: from localhost ([::1]:37165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efMoO-0004m2-Ho for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jan 2018 04:30:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efMoH-0004ln-K6 for bug-gnu-emacs@gnu.org; Sat, 27 Jan 2018 04:30:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1efMoE-0004Na-G3 for bug-gnu-emacs@gnu.org; Sat, 27 Jan 2018 04:30:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36446) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1efMoE-0004NA-CC for bug-gnu-emacs@gnu.org; Sat, 27 Jan 2018 04:30:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1efMoE-0000fk-1n for bug-gnu-emacs@gnu.org; Sat, 27 Jan 2018 04:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Jan 2018 09:30:01 +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.15170453842534 (code B ref 30186); Sat, 27 Jan 2018 09:30:01 +0000 Original-Received: (at 30186) by debbugs.gnu.org; 27 Jan 2018 09:29:44 +0000 Original-Received: from localhost ([127.0.0.1]:44343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1efMnw-0000eo-1N for submit@debbugs.gnu.org; Sat, 27 Jan 2018 04:29:44 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:59270 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1efMns-0000ed-4O for 30186@debbugs.gnu.org; Sat, 27 Jan 2018 04:29:42 -0500 Original-Received: (qmail 95786 invoked by uid 3782); 27 Jan 2018 09:29:37 -0000 Original-Received: from acm.muc.de (p548C7E39.dip0.t-ipconnect.de [84.140.126.57]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 27 Jan 2018 10:29:29 +0100 Original-Received: (qmail 4345 invoked by uid 1000); 27 Jan 2018 09:21:24 -0000 Content-Disposition: inline In-Reply-To: <5A6C3802.1050603@gmx.at> 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:142574 Archived-At: Hello, Martin. On Sat, Jan 27, 2018 at 09:27:46 +0100, martin rudalics wrote: > > 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. > Is that interpretation correct? No. I'm half joking. But an awful lot of Lisp code runs an awful lot of code separating text properties from actual text, mainly by preventing the change hooks being run for text property changes. read-passwd is an example (the only one I know) of the change hooks being an essential part of text property manipulation. > I always regard text properties part of some text (as they are retained > when copying text from one buffer to another) and only their text part > of the buffer. And I do regard overlays parts of their buffers. Am I > wrong? Text properties are indeed part of the buffer (or string). But I don't think overlays are - if you have an overlay on part of a buffer, and copy that part into a string, I don't think the overlay stays on the copy. > martin -- Alan Mackenzie (Nuremberg, Germany).