From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] trunk r115434: * subr.el (read-passwd): Disable show-paren-mode. Date: Tue, 10 Dec 2013 23:29:59 -0500 Message-ID: References: <83siu1xszu.fsf@gnu.org> <52A6C842.7060700@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1386736222 20235 80.91.229.3 (11 Dec 2013 04:30:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Dec 2013 04:30:22 +0000 (UTC) Cc: Eli Zaretskii , sdl.web@gmail.com, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 11 05:30:23 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VqbRG-0002Ul-Bb for ged-emacs-devel@m.gmane.org; Wed, 11 Dec 2013 05:30:22 +0100 Original-Received: from localhost ([::1]:52764 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqbRF-0004pG-JV for ged-emacs-devel@m.gmane.org; Tue, 10 Dec 2013 23:30:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqbR6-0004pA-Lk for emacs-devel@gnu.org; Tue, 10 Dec 2013 23:30:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VqbR1-0008JP-BG for emacs-devel@gnu.org; Tue, 10 Dec 2013 23:30:12 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:57534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqbR1-0008I9-6D; Tue, 10 Dec 2013 23:30:07 -0500 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id rBB4TxnF002806; Tue, 10 Dec 2013 23:30:00 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id ACC91AE321; Tue, 10 Dec 2013 23:29:59 -0500 (EST) In-Reply-To: <52A6C842.7060700@gmx.at> (martin rudalics's message of "Tue, 10 Dec 2013 08:52:34 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4788=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4788> : inlines <301> : streams <1088868> : uri <1620546> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:166279 Archived-At: > IMO read-passwd should be in C and strip any extraneous > text-properties and overlays after running all hooks. I don't see why we should write it in C, but stripping away overlays and text-properties would make sense. Another approach would be to replace chars with . not just in the display but in the buffer itself and keep the actual chars in a text property. The main property I want to preserve is that normal editing works (tho you have to do it "blind"), which is why the "hiding" is done in an after-change-function. Stefan