unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: martin rudalics <rudalics@gmx.at>
Cc: Eli Zaretskii <eliz@gnu.org>, sdl.web@gmail.com, emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] trunk r115434: * subr.el (read-passwd):	Disable show-paren-mode.
Date: Tue, 10 Dec 2013 23:29:59 -0500	[thread overview]
Message-ID: <jwvwqjcdnnv.fsf-monnier+emacsdiffs@gnu.org> (raw)
In-Reply-To: <52A6C842.7060700@gmx.at> (martin rudalics's message of "Tue, 10 Dec 2013 08:52:34 +0100")

> 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



  reply	other threads:[~2013-12-11  4:29 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1Vpqlh-0007jZ-DD@vcs.savannah.gnu.org>
2013-12-10  2:36 ` [Emacs-diffs] trunk r115434: * subr.el (read-passwd): Disable show-paren-mode Stefan Monnier
2013-12-10  3:52   ` Eli Zaretskii
2013-12-10  7:52     ` martin rudalics
2013-12-11  4:29       ` Stefan Monnier [this message]
2013-12-11  8:14         ` martin rudalics
2013-12-11 15:13           ` Stefan Monnier
2013-12-11 17:55             ` martin rudalics
     [not found]   ` <<83siu1xszu.fsf@gnu.org>
2013-12-10  3:59     ` Drew Adams
2013-12-10  4:12   ` Leo Liu
2013-12-10 16:35     ` Eli Zaretskii
2013-12-10 17:51       ` Josh
2013-12-10 18:17         ` Eli Zaretskii
2013-12-11  0:03       ` Leo Liu
2013-12-11  4:19         ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvwqjcdnnv.fsf-monnier+emacsdiffs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).