From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Josh Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] trunk r115434: * subr.el (read-passwd): Disable show-paren-mode. Date: Tue, 10 Dec 2013 09:51:02 -0800 Message-ID: References: <83mwk8y888.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c265a087f2a504ed31c1ac X-Trace: ger.gmane.org 1386697879 21268 80.91.229.3 (10 Dec 2013 17:51:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Dec 2013 17:51:19 +0000 (UTC) Cc: emacs-devel@gnu.org, Leo Liu , Stefan Monnier To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 10 18:51:24 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 1VqRSn-0005tz-Ew for ged-emacs-devel@m.gmane.org; Tue, 10 Dec 2013 18:51:17 +0100 Original-Received: from localhost ([::1]:50619 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqRSm-0005Gj-OF for ged-emacs-devel@m.gmane.org; Tue, 10 Dec 2013 12:51:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqRSf-0005Ae-0F for emacs-devel@gnu.org; Tue, 10 Dec 2013 12:51:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VqRSa-0007o4-79 for emacs-devel@gnu.org; Tue, 10 Dec 2013 12:51:08 -0500 Original-Received: from mail-wi0-f169.google.com ([209.85.212.169]:40494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqRSa-0007ns-2A for emacs-devel@gnu.org; Tue, 10 Dec 2013 12:51:04 -0500 Original-Received: by mail-wi0-f169.google.com with SMTP id hn6so5714994wib.4 for ; Tue, 10 Dec 2013 09:51:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=91KQ9lKw9EsCuqPoUO1IFhy/79/vX3l5u8S2nICxHxE=; b=ZeDWsVcEsuFUWtckWybk2FoB3pnYdAvmQpX7BRChp3YOeH5MCdKyyQWS1p7FlSdwRE YL/mlA/ZEuHsJNwX2b7RO03xf7EacI1zYbFJqys/qlWXzXeIDw0jYa1gBY4wmdnvpJ7X ZM2f0rlWtdCyo83ymzsnmJAvgnN2YtgC/GDs3J9lKR4mN6c1UIuFI7DHuP+uI0xFWDAT gStFU6KLkzNeEc3Rp94Mn72xn21OQE/NXebJPbYQHLCHZQYOom5RNvecjM44M5mmdKcm vDyH2SyCRxY8fbzZI0Br17uqm6kADe4Rxc3czONNQ4FQ2TgPp5ORT82HeoYtUt3r5w0P DW+w== X-Gm-Message-State: ALoCoQmnpImtosyTlbQFfkf4qwsRjqf3X6ow5COoqCqxUz/Q0P4QCF581FC9/V1W8SdY3L+ZrLau X-Received: by 10.180.187.229 with SMTP id fv5mr20600898wic.24.1386697862919; Tue, 10 Dec 2013 09:51:02 -0800 (PST) Original-Received: by 10.194.24.7 with HTTP; Tue, 10 Dec 2013 09:51:02 -0800 (PST) Original-Received: by 10.194.24.7 with HTTP; Tue, 10 Dec 2013 09:51:02 -0800 (PST) In-Reply-To: <83mwk8y888.fsf@gnu.org> X-Google-Sender-Auth: 7UFw6Y2sThKY36cKQe0yd0SqKD4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.212.169 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:166264 Archived-At: --001a11c265a087f2a504ed31c1ac Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On Dec 10, 2013 8:35 AM, "Eli Zaretskii" wrote: > > > From: Leo Liu > > Date: Tue, 10 Dec 2013 12:12:35 +0800 > > Cc: emacs-devel@gnu.org > > > > On 2013-12-10 10:36 +0800, Stefan Monnier wrote: > > > Should we disable show-paren-mode's highlighting when the paren is > > > covered by a `display' property? > > > > > > > > > Stefan > > > > I have no opinion either way. read-passwd is really a special case wher= e > > emacs should reveal as little as possible. In other cases the highlight > > might be helpful. > > Maybe you could suggest a couple of such cases, because I cannot think > of one. We are talking about highlighting parentheses that are not > displayed because some display property is displayed instead, right? Isn't it the case that such parentheses would sometimes be displayed in conjunction with conditional display specs., i.e. (when condition . spec)? Also, I'd also expect show-paren-mode to affect parentheses having display properties like =91raise' and =92height' that change the appearance of parentheses but do not display something else entirely. --001a11c265a087f2a504ed31c1ac Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable

On Dec 10, 2013 8:35 AM, "Eli Zaretskii" <eliz@gnu.org> wrote:
>
> > From: Leo Liu <sdl.web@gm= ail.com>
> > Date: Tue, 10 Dec 2013 12:12:35 +0800
> > Cc: emacs-devel@gnu.org
> >
> > On 2013-12-10 10:36 +0800, Stefan Monnier wrote:
> > > Should we disable show-paren-mode's highlighting when th= e paren is
> > > covered by a `display' property?
> > >
> > >
> > > =A0 =A0 =A0 =A0 Stefan
> >
> > I have no opinion either way. read-passwd is really a special cas= e where
> > emacs should reveal as little as possible. In other cases the hig= hlight
> > might be helpful.
>
> Maybe you could suggest a couple of such cases, because I cannot think=
> of one. =A0We are talking about highlighting parentheses that are not<= br> > displayed because some display property is displayed instead, right?

Isn't it the case that such parentheses would sometimes = be displayed in conjunction with conditional display specs., i.e. (when con= dition . spec)?
Also, I'd also expect show-paren-mode to affect parentheses having
display properties like =91raise' and =92height' that change the ap= pearance
of parentheses but do not display something else entirely.

--001a11c265a087f2a504ed31c1ac--