GNU logs - #14635, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14635: 24.3.50; Regression in Customize: no revert changes
Resent-From: Drew Adams <drew.adams@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 16 Jun 2013 09:19:01 +0000
Resent-Message-ID: <handler.14635.B.137137433023918 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 14635
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 14635 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.137137433023918
          (code B ref -1); Sun, 16 Jun 2013 09:19:01 +0000
Received: (at submit) by debbugs.gnu.org; 16 Jun 2013 09:18:50 +0000
Received: from localhost ([127.0.0.1]:47629 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Uo96n-0006Di-FO
	for submit <at> debbugs.gnu.org; Sun, 16 Jun 2013 05:18:49 -0400
Received: from eggs.gnu.org ([208.118.235.92]:48051)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <drew.adams@HIDDEN>) id 1Uo96l-0006DG-Cv
 for submit <at> debbugs.gnu.org; Sun, 16 Jun 2013 05:18:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1Uo96f-0004Jp-DG
 for submit <at> debbugs.gnu.org; Sun, 16 Jun 2013 05:18:42 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00, USER_IN_WHITELIST
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:51398)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1Uo96f-0004Jj-9z
 for submit <at> debbugs.gnu.org; Sun, 16 Jun 2013 05:18:41 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49767)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1Uo96d-00069a-TA
 for bug-gnu-emacs@HIDDEN; Sun, 16 Jun 2013 05:18:41 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1Uo96a-0004IB-Qe
 for bug-gnu-emacs@HIDDEN; Sun, 16 Jun 2013 05:18:39 -0400
Received: from userp1040.oracle.com ([156.151.31.81]:39823)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1Uo96a-0004I6-J9
 for bug-gnu-emacs@HIDDEN; Sun, 16 Jun 2013 05:18:36 -0400
Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94])
 by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id
 r5G9IX5Q003798
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Sun, 16 Jun 2013 09:18:33 GMT
Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85])
 by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r5G9IZU6018332
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
 for <bug-gnu-emacs@HIDDEN>; Sun, 16 Jun 2013 09:18:35 GMT
Received: from abhmt118.oracle.com (abhmt118.oracle.com [141.146.116.70])
 by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r5G9IYZX008616
 for <bug-gnu-emacs@HIDDEN>; Sun, 16 Jun 2013 09:18:34 GMT
MIME-Version: 1.0
Message-ID: <329c5dbd-dfc7-406e-9957-71f3b94409b0@default>
Date: Sun, 16 Jun 2013 02:18:36 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.7  (607090) [OL
 12.0.6668.5000 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Source-IP: ucsinet22.oracle.com [156.151.31.94]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

emacs -Q
M-x customize-face default

Make some changes.  Then choose Set for current session from the State
button.

Then try to revert your changes using button `Revert...' > `Revert this
session's customizations'.  There is no effect: no change in the
appearance of the buffer.  And trying to revert or undo edits using the
State button is also impossible: `Revert this session's customizations'
is now dimmed out.  This is with emacs -Q.

The change of state to revert to no changes seems completely broken (a
regression).



In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2013-06-13 on ODIEONE
Bzr revision: 112978 xfq.free@HIDDEN
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=3D/c/Devel/emacs/binary --enable-checking=3Dyes,glyphs
 CFLAGS=3D'-O0 -g3' CPPFLAGS=3D'-Ic:/Devel/emacs/include'
 LDFLAGS=3D'-Lc:/Devel/emacs/lib''




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Drew Adams <drew.adams@HIDDEN>
Subject: bug#14635: Acknowledgement (24.3.50; Regression in Customize: no
 revert changes)
Message-ID: <handler.14635.B.137137433023918.ack <at> debbugs.gnu.org>
References: <329c5dbd-dfc7-406e-9957-71f3b94409b0@default>
X-Gnu-PR-Message: ack 14635
X-Gnu-PR-Package: emacs
Reply-To: 14635 <at> debbugs.gnu.org
Date: Sun, 16 Jun 2013 09:19:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 14635 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
14635: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D14635
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14635: 24.3.50; Regression in Customize: no revert changes
Resent-From: Juanma Barranquero <lekktu@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 16 Jun 2013 10:31:01 +0000
Resent-Message-ID: <handler.14635.B14635.13713786573892 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14635
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Drew Adams <drew.adams@HIDDEN>
Cc: 14635 <at> debbugs.gnu.org
Received: via spool by 14635-submit <at> debbugs.gnu.org id=B14635.13713786573892
          (code B ref 14635); Sun, 16 Jun 2013 10:31:01 +0000
Received: (at 14635) by debbugs.gnu.org; 16 Jun 2013 10:30:57 +0000
Received: from localhost ([127.0.0.1]:47716 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UoAEa-00010g-Do
	for submit <at> debbugs.gnu.org; Sun, 16 Jun 2013 06:30:56 -0400
Received: from mail-ea0-f176.google.com ([209.85.215.176]:38555)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <lekktu@HIDDEN>) id 1UoAEX-00010P-QY
 for 14635 <at> debbugs.gnu.org; Sun, 16 Jun 2013 06:30:54 -0400
Received: by mail-ea0-f176.google.com with SMTP id z15so1179420ead.21
 for <14635 <at> debbugs.gnu.org>; Sun, 16 Jun 2013 03:30:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc:content-type;
 bh=EbQwgWK+C43Y3Ma6t4pQONNF1ufOb3RkgzV4Zx3Tbqw=;
 b=gVpfQ/D7jYkDbBTmLwB2x649v6xmUOiO1z3wwss+EgL7njUUPO1jcqaMTA3hA49Zw8
 cI0CIzk9bfC1N/fj5CaEa16LkemBMoOEo+JB5J2A6OWi28mbwoiEHn4y6arCzCAvKB4h
 XO6z0tAb+BExGhk1QXBPiKQ4rW3OU1f/7jyBwEYvcjr97KA3BuBmg00rjmZ5eFYBwcf7
 f78uqi9fJS4REjxFM/zC+HYd4zXn52I7v1su5gNUOjC41Y3ntYDroCC0M4fwB7h0sVM0
 8+XjHHzsHKxhUyxVoSETg3czB7igsru8nJARuoy1NwWhkhS0zOpXmNdAqkrkq3LVXM3w
 VEjg==
X-Received: by 10.15.21.78 with SMTP id c54mr11504849eeu.14.1371378648120;
 Sun, 16 Jun 2013 03:30:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.14.142.4 with HTTP; Sun, 16 Jun 2013 03:30:07 -0700 (PDT)
In-Reply-To: <329c5dbd-dfc7-406e-9957-71f3b94409b0@default>
References: <329c5dbd-dfc7-406e-9957-71f3b94409b0@default>
From: Juanma Barranquero <lekktu@HIDDEN>
Date: Sun, 16 Jun 2013 12:30:07 +0200
Message-ID: <CAAeL0SThZd-VCWJfmJqB9FsFyAHAp=_AgW7tE3rytOs9S=Q3Lw@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On Sun, Jun 16, 2013 at 11:18 AM, Drew Adams <drew.adams@HIDDEN> wrote:

> emacs -Q
> M-x customize-face default
>
> Make some changes.  Then choose Set for current session from the State
> button.
>
> Then try to revert your changes using button `Revert...' > `Revert this
> session's customizations'.  There is no effect: no change in the
> appearance of the buffer.

Some things can be reverted (underline, etc.) and some not (font
family, slant...). Weird.

    Juanma




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 5 Aug 2016 23:32:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 05 19:32:57 2016
Received: from localhost ([127.0.0.1]:56937 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bVobp-0002Fh-52
	for submit <at> debbugs.gnu.org; Fri, 05 Aug 2016 19:32:57 -0400
Received: from mail-io0-f176.google.com ([209.85.223.176]:33856)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1bVobn-0002FU-5k
 for control <at> debbugs.gnu.org; Fri, 05 Aug 2016 19:32:55 -0400
Received: by mail-io0-f176.google.com with SMTP id q83so313900018iod.1
 for <control <at> debbugs.gnu.org>; Fri, 05 Aug 2016 16:32:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:from:to:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=4GE4ffrNnIKl4V3h5oDc8bENUYEVO1jyJL70eSnJnfQ=;
 b=nOUYnMi0Ie429FTSRYbo2pniy5JVeNG3xlWEHXoX3bgV9aMofqxVRAPZ4Uri9w0Hew
 4pEJmtuv/nr/ecq8YZlh0/ZT09Ytc/XlEqBY6m5b+HjQ4JEqCh5qW8wRKKnYCfeE3Ncc
 2DcGeDrymkrTiPpbs7MM1ar/cI+Yc72yrUuYdT+i2EBjIDu8IDDejqUu/E+rYMvyzVxx
 sJo6hv6LncO9VWgWPem4Ri662UFVl/E4YKo5XJAUZWE+kGaWzPFacNuX1m75PVqJ3EZa
 Bsa5MxXumU8GIbrG8bwo55f2eeC2V2yXfgQ1Ukc7B6W3DPM3rSEKx6U0DzfVbFp1yjNc
 B9BQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:sender:from:to:subject:references:date
 :in-reply-to:message-id:user-agent:mime-version;
 bh=4GE4ffrNnIKl4V3h5oDc8bENUYEVO1jyJL70eSnJnfQ=;
 b=XbQ4JaJS+dQlYkspPFWZAOcQLEymq1eRHdYMzxzINg0zhwfuTkDhpu03wmw7fcZG3G
 rTlY9xvIUK6uNHb7iIVdrN9fk332KEYdw3BqnHlsXDkNP01YfCgWwaaO3O6qx9gYtDee
 YZv/Xd/j5SXtVvuW1LOO6uo1utmvgtenh2FVALtm1QjRm1xPb5OrPFb3DEnPsY9lXGdK
 z3gsYTb3XxNfoE0DIsk8YccvA/S6m/s1sKVEV/pxzwWdele4AuzIWcIQpsEupsrW+Aax
 8fgQNzc6sAy6EcdhRXEVGu16ePkcN3GhEAJEQpc/YAsuIeaRPSxmSxuxxbtnMzeo0CV5
 Bzhg==
X-Gm-Message-State: AEkooustXk6MhJR8CT/FeosXC6oQ0QHjm4iIsQYjB7Eh8sxchvou+ja2v4+IDKY5EaN6cQ==
X-Received: by 10.107.164.201 with SMTP id d70mr84297337ioj.80.1470439969524; 
 Fri, 05 Aug 2016 16:32:49 -0700 (PDT)
Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44])
 by smtp.googlemail.com with ESMTPSA id b20sm4842843itb.22.2016.08.05.16.32.48
 for <control <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Fri, 05 Aug 2016 16:32:48 -0700 (PDT)
From: npostavs@HIDDEN
To: control <at> debbugs.gnu.org
Subject: Re: bug#14635: 24.3.50; Regression in Customize: no revert changes
References: <329c5dbd-dfc7-406e-9957-71f3b94409b0@default>
 <CAAeL0SThZd-VCWJfmJqB9FsFyAHAp=_AgW7tE3rytOs9S=Q3Lw@HIDDEN>
Date: Fri, 05 Aug 2016 19:32:57 -0400
In-Reply-To: <CAAeL0SThZd-VCWJfmJqB9FsFyAHAp=_AgW7tE3rytOs9S=Q3Lw@HIDDEN>
 (Juanma Barranquero's message of "Sun, 16 Jun 2013 12:30:07 +0200")
Message-ID: <87bn1694gm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

tags 14635 confirmed
found 14635 25.1
quit

Juanma Barranquero <lekktu@HIDDEN> writes:

> On Sun, Jun 16, 2013 at 11:18 AM, Drew Adams <drew.adams@HIDDEN> wrote:
>
>> emacs -Q
>> M-x customize-face default
>>
>> Make some changes.  Then choose Set for current session from the State
>> button.
>>
>> Then try to revert your changes using button `Revert...' > `Revert this
>> session's customizations'.  There is no effect: no change in the
>> appearance of the buffer.
>
> Some things can be reverted (underline, etc.) and some not (font
> family, slant...). Weird.





Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 5 Aug 2016 23:32:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 05 19:32:57 2016
Received: from localhost ([127.0.0.1]:56937 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bVobp-0002Fh-52
	for submit <at> debbugs.gnu.org; Fri, 05 Aug 2016 19:32:57 -0400
Received: from mail-io0-f176.google.com ([209.85.223.176]:33856)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1bVobn-0002FU-5k
 for control <at> debbugs.gnu.org; Fri, 05 Aug 2016 19:32:55 -0400
Received: by mail-io0-f176.google.com with SMTP id q83so313900018iod.1
 for <control <at> debbugs.gnu.org>; Fri, 05 Aug 2016 16:32:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:from:to:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=4GE4ffrNnIKl4V3h5oDc8bENUYEVO1jyJL70eSnJnfQ=;
 b=nOUYnMi0Ie429FTSRYbo2pniy5JVeNG3xlWEHXoX3bgV9aMofqxVRAPZ4Uri9w0Hew
 4pEJmtuv/nr/ecq8YZlh0/ZT09Ytc/XlEqBY6m5b+HjQ4JEqCh5qW8wRKKnYCfeE3Ncc
 2DcGeDrymkrTiPpbs7MM1ar/cI+Yc72yrUuYdT+i2EBjIDu8IDDejqUu/E+rYMvyzVxx
 sJo6hv6LncO9VWgWPem4Ri662UFVl/E4YKo5XJAUZWE+kGaWzPFacNuX1m75PVqJ3EZa
 Bsa5MxXumU8GIbrG8bwo55f2eeC2V2yXfgQ1Ukc7B6W3DPM3rSEKx6U0DzfVbFp1yjNc
 B9BQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:sender:from:to:subject:references:date
 :in-reply-to:message-id:user-agent:mime-version;
 bh=4GE4ffrNnIKl4V3h5oDc8bENUYEVO1jyJL70eSnJnfQ=;
 b=XbQ4JaJS+dQlYkspPFWZAOcQLEymq1eRHdYMzxzINg0zhwfuTkDhpu03wmw7fcZG3G
 rTlY9xvIUK6uNHb7iIVdrN9fk332KEYdw3BqnHlsXDkNP01YfCgWwaaO3O6qx9gYtDee
 YZv/Xd/j5SXtVvuW1LOO6uo1utmvgtenh2FVALtm1QjRm1xPb5OrPFb3DEnPsY9lXGdK
 z3gsYTb3XxNfoE0DIsk8YccvA/S6m/s1sKVEV/pxzwWdele4AuzIWcIQpsEupsrW+Aax
 8fgQNzc6sAy6EcdhRXEVGu16ePkcN3GhEAJEQpc/YAsuIeaRPSxmSxuxxbtnMzeo0CV5
 Bzhg==
X-Gm-Message-State: AEkooustXk6MhJR8CT/FeosXC6oQ0QHjm4iIsQYjB7Eh8sxchvou+ja2v4+IDKY5EaN6cQ==
X-Received: by 10.107.164.201 with SMTP id d70mr84297337ioj.80.1470439969524; 
 Fri, 05 Aug 2016 16:32:49 -0700 (PDT)
Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44])
 by smtp.googlemail.com with ESMTPSA id b20sm4842843itb.22.2016.08.05.16.32.48
 for <control <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Fri, 05 Aug 2016 16:32:48 -0700 (PDT)
From: npostavs@HIDDEN
To: control <at> debbugs.gnu.org
Subject: Re: bug#14635: 24.3.50; Regression in Customize: no revert changes
References: <329c5dbd-dfc7-406e-9957-71f3b94409b0@default>
 <CAAeL0SThZd-VCWJfmJqB9FsFyAHAp=_AgW7tE3rytOs9S=Q3Lw@HIDDEN>
Date: Fri, 05 Aug 2016 19:32:57 -0400
In-Reply-To: <CAAeL0SThZd-VCWJfmJqB9FsFyAHAp=_AgW7tE3rytOs9S=Q3Lw@HIDDEN>
 (Juanma Barranquero's message of "Sun, 16 Jun 2013 12:30:07 +0200")
Message-ID: <87bn1694gm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

tags 14635 confirmed
found 14635 25.1
quit

Juanma Barranquero <lekktu@HIDDEN> writes:

> On Sun, Jun 16, 2013 at 11:18 AM, Drew Adams <drew.adams@HIDDEN> wrote:
>
>> emacs -Q
>> M-x customize-face default
>>
>> Make some changes.  Then choose Set for current session from the State
>> button.
>>
>> Then try to revert your changes using button `Revert...' > `Revert this
>> session's customizations'.  There is no effect: no change in the
>> appearance of the buffer.
>
> Some things can be reverted (underline, etc.) and some not (font
> family, slant...). Weird.





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14635: 24.3.50; Regression in Customize: no revert changes
References: <329c5dbd-dfc7-406e-9957-71f3b94409b0@default>
In-Reply-To: <329c5dbd-dfc7-406e-9957-71f3b94409b0@default>
Resent-From: Mauro Aranda <maurooaranda@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 30 Oct 2020 13:36:01 +0000
Resent-Message-ID: <handler.14635.B14635.160406495330946 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14635
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: confirmed
To: Drew Adams <drew.adams@HIDDEN>
Cc: 14635 <at> debbugs.gnu.org
Received: via spool by 14635-submit <at> debbugs.gnu.org id=B14635.160406495330946
          (code B ref 14635); Fri, 30 Oct 2020 13:36:01 +0000
Received: (at 14635) by debbugs.gnu.org; 30 Oct 2020 13:35:53 +0000
Received: from localhost ([127.0.0.1]:56687 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kYUZM-000833-LH
	for submit <at> debbugs.gnu.org; Fri, 30 Oct 2020 09:35:52 -0400
Received: from mail-wr1-f52.google.com ([209.85.221.52]:44926)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maurooaranda@HIDDEN>) id 1kYUZL-00082r-9n
 for 14635 <at> debbugs.gnu.org; Fri, 30 Oct 2020 09:35:51 -0400
Received: by mail-wr1-f52.google.com with SMTP id b3so578887wrx.11
 for <14635 <at> debbugs.gnu.org>; Fri, 30 Oct 2020 06:35:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to:cc;
 bh=bKesBNlIjpeMM4anEID59oxeEMX6l/wNGrErSC22GRw=;
 b=G5pRjY03RlvUjY09v2qM94T4drhi1N3VoC0GbvDDvwVWLLEdML4BNAHBb/Q5ik1t42
 pT8MIECNoGSH2jsVDs1SzY9ay+e0P7En7f3OrYRp/dyF3qYzP38yTQ1r6U+Fjj1Mbp3G
 G5nYMIDEb1TuZk6CFSsTJArUDOm2wHl5wcOc9qc64OoU3cCsR5qbsWqe4CgqO7os+cbc
 39hG3OD7oigJegeFmm8GLX70E3WB0WUGNIcPQaoCvFkxqXT2JALVnzL2dl43LpBnlwPV
 +JGjWgqVG9iJFV3hW/lSy/hbNX0eCkdq95qxwKsKk0mXSecBOylfroLxEfS6xo5wgMbI
 Fq1Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc;
 bh=bKesBNlIjpeMM4anEID59oxeEMX6l/wNGrErSC22GRw=;
 b=t76M0knjma1qxg8QI2iBHTjUyvJXvEct7StiY0p8y/Tg89jd57tcPd5h7wDgIFX+A/
 q7ppTDcawBsmMjXjnW7jnVU8Y+oyaEiwFzBKwo1FIsVCgOZq+n5liTTuyCuG4knHlVSx
 n6ybR00ZokACpVc0jDb3VC9QQuKIrhxQ/2RQqcZCvJ4u3uqDP131FEu/Zhx19xU0S6Np
 kYbRklbjJ/3U6XcFcr3bfCSULa2QXOpGXcpTD6tLqNLQsHsFKEgk3IJVL3gJni2yT0w5
 9QuQfUSN6BvupFBf/Uq7ni8l8oiwvraLW1GwMOEu+t7C024M/UNstE1qWmIef6m4Dece
 tyqQ==
X-Gm-Message-State: AOAM532b2RTX5X82t43feRX4rWutm759oCO7ldjJWTpnMWmJ4oZAO0Nm
 72hlugM5CX6f+KeB4S20KfNoOiMoQWietD9KNEc=
X-Google-Smtp-Source: ABdhPJxIkLijlDywBIkxw+fLOrhZoC78griTuFWyfABR/vcXuwUwFyvqL6uowc3W6pB4a2lDig74afp0dhNEJDzZqEo=
X-Received: by 2002:a5d:69d1:: with SMTP id s17mr2002790wrw.77.1604064945484; 
 Fri, 30 Oct 2020 06:35:45 -0700 (PDT)
MIME-Version: 1.0
From: Mauro Aranda <maurooaranda@HIDDEN>
Date: Fri, 30 Oct 2020 10:35:33 -0300
Message-ID: <CABczVwcWkt5L++G2aWoQAjOn97d-ZU8fw1q11+sw6qHggM0unw@HIDDEN>
Content-Type: multipart/alternative; boundary="00000000000045ba4e05b2e379dd"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--00000000000045ba4e05b2e379dd
Content-Type: text/plain; charset="UTF-8"

Drew Adams <drew.adams@HIDDEN> writes:

> emacs -Q
> M-x customize-face default
>
> Make some changes.  Then choose Set for current session from the State
> button.
>
> Then try to revert your changes using button `Revert...' > `Revert this
> session's customizations'.  There is no effect: no change in the
> appearance of the buffer.  And trying to revert or undo edits using the
> State button is also impossible: `Revert this session's customizations'
> is now dimmed out.  This is with emacs -Q.
>
> The change of state to revert to no changes seems completely broken (a
> regression).
>

I can reproduce this issue on master.

IIUC, this bug is very similar, if not a duplicate, to Bug#13476.  But
here, we are dealing with the default face, so perhaps it is trickier.

For the default face, face-spec-reset-face only sets all attributes to
default values if (display-graphic-p frame) returns nil.  So on a
graphical display, it never resets :family, :foundry, :width, :height,
:weight, :slant, :foreground and :background.

So, if customizing the foreground color:
M-x customize-face RET default
Move to Foreground and change it to green
C-c C-c to set it for the session
Click State and select: Revert this session's customizations

The default face is still green.  And:
(face-attribute 'default :foreground) ==> "green"

On a TTY the above recipe works just fine, because we do pass default
values here.


What would be the right way for face-spec-reset-face to reset all the
attributes of the default face to the default values, in a graphic
display?

--00000000000045ba4e05b2e379dd
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Drew Adams &lt;<a href=3D"mailto:drew.adams@HIDDEN">dr=
ew.adams@HIDDEN</a>&gt; writes:<br><br>&gt; emacs -Q<br>&gt; M-x custom=
ize-face default<br>&gt;<br>&gt; Make some changes.=C2=A0 Then choose Set f=
or current session from the State<br>&gt; button.<br>&gt;<br>&gt; Then try =
to revert your changes using button `Revert...&#39; &gt; `Revert this<br>&g=
t; session&#39;s customizations&#39;.=C2=A0 There is no effect: no change i=
n the<br>&gt; appearance of the buffer.=C2=A0 And trying to revert or undo =
edits using the<br>&gt; State button is also impossible: `Revert this sessi=
on&#39;s customizations&#39;<br>&gt; is now dimmed out.=C2=A0 This is with =
emacs -Q.<br>&gt;<br>&gt; The change of state to revert to no changes seems=
 completely broken (a<br>&gt; regression).<br>&gt;<br><br>I can reproduce t=
his issue on master.<br><br>IIUC, this bug is very similar, if not a duplic=
ate, to Bug#13476.=C2=A0 But<br>here, we are dealing with the default face,=
 so perhaps it is trickier.<br><br>For the default face, face-spec-reset-fa=
ce only sets all attributes to<br>default values if (display-graphic-p fram=
e) returns nil.=C2=A0 So on a<br>graphical display, it never resets :family=
, :foundry, :width, :height,<br>:weight, :slant, :foreground and :backgroun=
d.<br><br>So, if customizing the foreground color:<br>M-x customize-face RE=
T default<br>Move to Foreground and change it to green<br>C-c C-c to set it=
 for the session<br>Click State and select: Revert this session&#39;s custo=
mizations<br><br>The default face is still green.=C2=A0 And:<br>(face-attri=
bute &#39;default :foreground) =3D=3D&gt; &quot;green&quot;<br><br>On a TTY=
 the above recipe works just fine, because we do pass default<br>values her=
e.<br><br><br>What would be the right way for face-spec-reset-face to reset=
 all the<br>attributes of the default face to the default values, in a grap=
hic<br>display?<br></div>

--00000000000045ba4e05b2e379dd--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14635: 24.3.50; Regression in Customize: no revert changes
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 30 Oct 2020 13:44:01 +0000
Resent-Message-ID: <handler.14635.B14635.160406542731756 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14635
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: confirmed
To: Mauro Aranda <maurooaranda@HIDDEN>
Cc: 14635 <at> debbugs.gnu.org, drew.adams@HIDDEN
Received: via spool by 14635-submit <at> debbugs.gnu.org id=B14635.160406542731756
          (code B ref 14635); Fri, 30 Oct 2020 13:44:01 +0000
Received: (at 14635) by debbugs.gnu.org; 30 Oct 2020 13:43:47 +0000
Received: from localhost ([127.0.0.1]:56709 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kYUh1-0008G8-AP
	for submit <at> debbugs.gnu.org; Fri, 30 Oct 2020 09:43:47 -0400
Received: from eggs.gnu.org ([209.51.188.92]:39144)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1kYUgz-0008Fv-Vf
 for 14635 <at> debbugs.gnu.org; Fri, 30 Oct 2020 09:43:46 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:44515)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kYUgu-0003dW-4A; Fri, 30 Oct 2020 09:43:40 -0400
Received: from [176.228.60.248] (port=2828 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kYUgt-0004hU-DT; Fri, 30 Oct 2020 09:43:39 -0400
Date: Fri, 30 Oct 2020 15:43:22 +0200
Message-Id: <83o8kjakxx.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <CABczVwcWkt5L++G2aWoQAjOn97d-ZU8fw1q11+sw6qHggM0unw@HIDDEN>
 (message from Mauro Aranda on Fri, 30 Oct 2020 10:35:33 -0300)
References: <329c5dbd-dfc7-406e-9957-71f3b94409b0@default>
 <CABczVwcWkt5L++G2aWoQAjOn97d-ZU8fw1q11+sw6qHggM0unw@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Mauro Aranda <maurooaranda@HIDDEN>
> Date: Fri, 30 Oct 2020 10:35:33 -0300
> Cc: 14635 <at> debbugs.gnu.org
> 
> For the default face, face-spec-reset-face only sets all attributes to
> default values if (display-graphic-p frame) returns nil.  So on a
> graphical display, it never resets :family, :foundry, :width, :height,
> :weight, :slant, :foreground and :background.

That's because on GUI frames there's no real default for these
attributes (unlike on a TTY where we inherit the colors of the
terminal).  So we simply _cannot_ reset the attributes like that,
because there's nothing to reset to.  E.g., unspecified-fg only has
meaning on a TTY frame.

> What would be the right way for face-spec-reset-face to reset all the
> attributes of the default face to the default values, in a graphic
> display?

Doesn't customizing a face record the original value in some property
of the face symbol?  If so, reverting the customizations should use
those recorded values, I think.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14635: 24.3.50; Regression in Customize: no revert changes
Resent-From: Mauro Aranda <maurooaranda@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 30 Oct 2020 14:04:01 +0000
Resent-Message-ID: <handler.14635.B14635.16040666403674 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14635
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: confirmed
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 14635 <at> debbugs.gnu.org, Drew Adams <drew.adams@HIDDEN>
Received: via spool by 14635-submit <at> debbugs.gnu.org id=B14635.16040666403674
          (code B ref 14635); Fri, 30 Oct 2020 14:04:01 +0000
Received: (at 14635) by debbugs.gnu.org; 30 Oct 2020 14:04:00 +0000
Received: from localhost ([127.0.0.1]:59132 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kYV0a-0000xC-6j
	for submit <at> debbugs.gnu.org; Fri, 30 Oct 2020 10:04:00 -0400
Received: from mail-wr1-f50.google.com ([209.85.221.50]:34914)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maurooaranda@HIDDEN>) id 1kYV0Y-0000wy-4F
 for 14635 <at> debbugs.gnu.org; Fri, 30 Oct 2020 10:03:59 -0400
Received: by mail-wr1-f50.google.com with SMTP id n15so6625494wrq.2
 for <14635 <at> debbugs.gnu.org>; Fri, 30 Oct 2020 07:03:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=v6hYfk3jNac5CebhsnUXAvw1V0/6MBQbcnmL3ntDsk0=;
 b=hNvcNWX8iciAf92b/T/GD6Kyoy0WtwWDtqwoHpXS+eiGL+un4afjDx4zfU+KKDaNv2
 uD39MKSX/k7hwZLvsc1yy17fLJccJ2xBlEFbEJqoZb9zs+XZBCndqGZtUNC67F5jj0gz
 ap5dKFikHOgiE9gvU7TVO31gCae4L1GR6TPMdtWfy5G+uf9tCwKgh9wOVx8hPNPRYB4V
 87rlvrBq+O6TdoacDpV2OYyzwb4nSeDi25glqn0yfilqY/+cGPdSSQO9cKrXslFbI/C2
 wN+6ot/yZeYwBaVQczyiopE39bJ7seBcfGZYNTt645CGcI3NKbQuVJ5fUnQLkee3MF6N
 wfeQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=v6hYfk3jNac5CebhsnUXAvw1V0/6MBQbcnmL3ntDsk0=;
 b=sS6hG3x0WP/oe3KEB+oy3io8/D7mVPduxyYDECihDKtuwKIKOBVrD8WR2P9+SDQo9e
 XDmaU+LbWiaRnLg6DSGW+APb/1UcyMmbN34Ju00sQScpgo1B3zkRFJ14V1hs5x2zzwpZ
 BpIJJBUoa7Zpwzei75BFLW2vUWLMmCHJmQehuXOzGfZ95yx7f5g5XZgAqu6Rk5r1SDPp
 z2C51UaV7km/fnFzoNAy93pPo+H8ioYqww5OahKckIv1e8h7hSn7iwcq6lWAFzE7DI7T
 lXwjqpjX54tzD03NaY/cVfYOUgjxMFQKLEUl50UGiYipOFYNSc+qJnxwChEJ44023gpx
 cBsg==
X-Gm-Message-State: AOAM531s6uI+jN+Y8WXzVb0pp5o8G8rkvfZ1g69Ir70ENaFb38mzSHrR
 lw6j+eD/b9gb6Yd1kzRXdk4KZqgjg+QpIeUZ3Cs=
X-Google-Smtp-Source: ABdhPJz7n6wpLXcrA8FNPuZSwu+iq1YKN1iNmPD4gRal+NoUetIQnpfRROx93kX+HSY3h86EcyMKW6d3CoTc1RAE+FU=
X-Received: by 2002:a5d:69d1:: with SMTP id s17mr2166379wrw.77.1604066631504; 
 Fri, 30 Oct 2020 07:03:51 -0700 (PDT)
MIME-Version: 1.0
References: <329c5dbd-dfc7-406e-9957-71f3b94409b0@default>
 <CABczVwcWkt5L++G2aWoQAjOn97d-ZU8fw1q11+sw6qHggM0unw@HIDDEN>
 <83o8kjakxx.fsf@HIDDEN>
In-Reply-To: <83o8kjakxx.fsf@HIDDEN>
From: Mauro Aranda <maurooaranda@HIDDEN>
Date: Fri, 30 Oct 2020 11:03:39 -0300
Message-ID: <CABczVwfpwOxw2Gv-ob_pXufD7+SUojnDKAs1vjGzUcB7k9PFtA@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000c457cc05b2e3ddad"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000c457cc05b2e3ddad
Content-Type: text/plain; charset="UTF-8"

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Mauro Aranda <maurooaranda@HIDDEN>
>> Date: Fri, 30 Oct 2020 10:35:33 -0300
>> Cc: 14635 <at> debbugs.gnu.org
>>
>> For the default face, face-spec-reset-face only sets all attributes to
>> default values if (display-graphic-p frame) returns nil.  So on a
>> graphical display, it never resets :family, :foundry, :width, :height,
>> :weight, :slant, :foreground and :background.
>
> That's because on GUI frames there's no real default for these
> attributes (unlike on a TTY where we inherit the colors of the
> terminal).  So we simply _cannot_ reset the attributes like that,
> because there's nothing to reset to.  E.g., unspecified-fg only has
> meaning on a TTY frame.

I see, thanks.

>> What would be the right way for face-spec-reset-face to reset all the
>> attributes of the default face to the default values, in a graphic
>> display?
>
> Doesn't customizing a face record the original value in some property
> of the face symbol?  If so, reverting the customizations should use
> those recorded values, I think.

AFAICT, it doesn't right now.  I followed the recipe I gave, and then:
(symbol-plist 'default)
The relevant properties I see are:
* face-defface-spec ==> ((t nil))
which won't take us anywhere.
* theme-face, which has the customized value for the user theme, and
* customized-face, which again, has the customized value.

But I see no immediate reason why we shouldn't start doing it, if you
think it is OK to use that to solve this issue.  My only questions are
if it would be best to do it in Customize or in faces.el, and if we
should only special case the default face.

--000000000000c457cc05b2e3ddad
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Eli Zaretskii &lt;<a href=3D"mailto:eliz@HIDDEN">eliz@gnu=
.org</a>&gt; writes:<br><br>&gt;&gt; From: Mauro Aranda &lt;<a href=3D"mail=
to:maurooaranda@HIDDEN">maurooaranda@HIDDEN</a>&gt;<br>&gt;&gt; Date:=
 Fri, 30 Oct 2020 10:35:33 -0300<br>&gt;&gt; Cc: <a href=3D"mailto:14635@de=
bbugs.gnu.org">14635 <at> debbugs.gnu.org</a><br>&gt;&gt; <br>&gt;&gt; For the d=
efault face, face-spec-reset-face only sets all attributes to<br>&gt;&gt; d=
efault values if (display-graphic-p frame) returns nil.=C2=A0 So on a<br>&g=
t;&gt; graphical display, it never resets :family, :foundry, :width, :heigh=
t,<br>&gt;&gt; :weight, :slant, :foreground and :background.<br>&gt;<br>&gt=
; That&#39;s because on GUI frames there&#39;s no real default for these<br=
>&gt; attributes (unlike on a TTY where we inherit the colors of the<br>&gt=
; terminal).=C2=A0 So we simply _cannot_ reset the attributes like that,<br=
>&gt; because there&#39;s nothing to reset to.=C2=A0 E.g., unspecified-fg o=
nly has<br>&gt; meaning on a TTY frame.<br><br>I see, thanks.<br><br>&gt;&g=
t; What would be the right way for face-spec-reset-face to reset all the<br=
>&gt;&gt; attributes of the default face to the default values, in a graphi=
c<br>&gt;&gt; display?<br>&gt;<br>&gt; Doesn&#39;t customizing a face recor=
d the original value in some property<br>&gt; of the face symbol?=C2=A0 If =
so, reverting the customizations should use<br>&gt; those recorded values, =
I think.<br><br>AFAICT, it doesn&#39;t right now.=C2=A0 I followed the reci=
pe I gave, and then:<br>(symbol-plist &#39;default)<br>The relevant propert=
ies I see are:<br>* face-defface-spec =3D=3D&gt; ((t nil))<br>which won&#39=
;t take us anywhere.<br>* theme-face, which has the customized value for th=
e user theme, and<br>* customized-face, which again, has the customized val=
ue.<br><br>But I see no immediate reason why we shouldn&#39;t start doing i=
t, if you<br>think it is OK to use that to solve this issue.=C2=A0 My only =
questions are<br>if it would be best to do it in Customize or in faces.el, =
and if we<br>should only special case the default face.<br></div>

--000000000000c457cc05b2e3ddad--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14635: 24.3.50; Regression in Customize: no revert changes
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 30 Oct 2020 14:17:02 +0000
Resent-Message-ID: <handler.14635.B14635.16040674124903 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14635
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: confirmed
To: Mauro Aranda <maurooaranda@HIDDEN>
Cc: 14635 <at> debbugs.gnu.org, drew.adams@HIDDEN
Received: via spool by 14635-submit <at> debbugs.gnu.org id=B14635.16040674124903
          (code B ref 14635); Fri, 30 Oct 2020 14:17:02 +0000
Received: (at 14635) by debbugs.gnu.org; 30 Oct 2020 14:16:52 +0000
Received: from localhost ([127.0.0.1]:59138 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kYVD2-0001H1-FS
	for submit <at> debbugs.gnu.org; Fri, 30 Oct 2020 10:16:52 -0400
Received: from eggs.gnu.org ([209.51.188.92]:46800)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1kYVD0-0001Gj-VG
 for 14635 <at> debbugs.gnu.org; Fri, 30 Oct 2020 10:16:51 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:45152)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kYVCv-0007si-LP; Fri, 30 Oct 2020 10:16:45 -0400
Received: from [176.228.60.248] (port=4841 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kYVCu-0001pK-Ou; Fri, 30 Oct 2020 10:16:45 -0400
Date: Fri, 30 Oct 2020 16:16:27 +0200
Message-Id: <83lffnajes.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <CABczVwfpwOxw2Gv-ob_pXufD7+SUojnDKAs1vjGzUcB7k9PFtA@HIDDEN>
 (message from Mauro Aranda on Fri, 30 Oct 2020 11:03:39 -0300)
References: <329c5dbd-dfc7-406e-9957-71f3b94409b0@default>
 <CABczVwcWkt5L++G2aWoQAjOn97d-ZU8fw1q11+sw6qHggM0unw@HIDDEN>
 <83o8kjakxx.fsf@HIDDEN>
 <CABczVwfpwOxw2Gv-ob_pXufD7+SUojnDKAs1vjGzUcB7k9PFtA@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Mauro Aranda <maurooaranda@HIDDEN>
> Date: Fri, 30 Oct 2020 11:03:39 -0300
> Cc: Drew Adams <drew.adams@HIDDEN>, 14635 <at> debbugs.gnu.org
> 
> > Doesn't customizing a face record the original value in some property
> > of the face symbol?  If so, reverting the customizations should use
> > those recorded values, I think.
> 
> AFAICT, it doesn't right now.  I followed the recipe I gave, and then:
> (symbol-plist 'default)
> The relevant properties I see are:
> * face-defface-spec ==> ((t nil))
> which won't take us anywhere.
> * theme-face, which has the customized value for the user theme, and
> * customized-face, which again, has the customized value.
> 
> But I see no immediate reason why we shouldn't start doing it, if you
> think it is OK to use that to solve this issue.  My only questions are
> if it would be best to do it in Customize or in faces.el, and if we
> should only special case the default face.

I'd begin with doing this in Customize, since it is the only user of
this property.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14635: 24.3.50; Regression in Customize: no revert changes
Resent-From: Mauro Aranda <maurooaranda@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 30 Oct 2020 14:25:01 +0000
Resent-Message-ID: <handler.14635.B14635.16040678515714 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14635
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: confirmed
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 14635 <at> debbugs.gnu.org, Drew Adams <drew.adams@HIDDEN>
Received: via spool by 14635-submit <at> debbugs.gnu.org id=B14635.16040678515714
          (code B ref 14635); Fri, 30 Oct 2020 14:25:01 +0000
Received: (at 14635) by debbugs.gnu.org; 30 Oct 2020 14:24:11 +0000
Received: from localhost ([127.0.0.1]:59155 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kYVK7-0001U5-3t
	for submit <at> debbugs.gnu.org; Fri, 30 Oct 2020 10:24:11 -0400
Received: from mail-wm1-f50.google.com ([209.85.128.50]:55840)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maurooaranda@HIDDEN>) id 1kYVK5-0001Tr-Iy
 for 14635 <at> debbugs.gnu.org; Fri, 30 Oct 2020 10:24:09 -0400
Received: by mail-wm1-f50.google.com with SMTP id c9so1476234wml.5
 for <14635 <at> debbugs.gnu.org>; Fri, 30 Oct 2020 07:24:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=4ItccC530PkvKRAutMOK7ZEfzTV3mCc7JXsz8tUi8eg=;
 b=OLCQCB9LfZ+homzpOVdFRLr70ThAVhDQqwtmawblgV+NqJg6QTt/lIjcxMraWtc6Ff
 r/kCWVi3ob9MJjLRds31WoynP2R1uSnnRtiB0eEfrwfLaaI03flXi3L4HfcbLD+DFNiT
 D7ohom2h3+q3O4VlM5ceZUM/GaQAlCDDs9SCqCKLR0Zro6ZNpinMP94HSkh+88+/iaD7
 fqQ/WUVR4XXoX67Uk8p8cAzwCNbkvOzNrFs5SC/IcVQvqfbhxnH53yaaeajA25nUyG8/
 qm+LjEem8qSrbK4HIL8tqsDk6ZgpetykfAuQb8mt4U32PPiG6iBXDcFcJ3/UbmLiL+pQ
 YAiA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=4ItccC530PkvKRAutMOK7ZEfzTV3mCc7JXsz8tUi8eg=;
 b=gE0J+ggoo91w21wSENGqvmn2Dzrkg8tPCNAgEMc2Ogc3EkRgNPin7JayAFYBRxN1Mm
 g3a8+kOcRFwGnof700mcrP640PHS2UyrdVqTJcYdCqRiLMkilFHbi8rZE9rzAwmGKIkk
 z6mBzXmQ4Dxhkk/EnOcYvK1qj2+5x1MFIyio0a2D+OhG1uainZksbGP1OOuAUWRV8tqh
 2azzacW0tYg78BwOPzXttfoZgZRAkGD/QjNrGdUFf2ddeJTi8Fz1vOw2+DgL62ti0e80
 clPTkBMNp1+0Q+tow01frT7gfYylMpXSs4pL7c9ECUZIhidMzYffAfwr7vI0p8/c3SFx
 F8zQ==
X-Gm-Message-State: AOAM531OVGNtobsQzNjpxgqJDoY8eFVaa3Bvv3R5M2domdHxIN+3O6Zi
 uf0k7hMzBjHyk6xV1RWqWcrH2VfAX576zj3jq2o=
X-Google-Smtp-Source: ABdhPJwCg2v9bbGKQTY3dNVaZfDRS5gbbvpiG8syDMIIqXpVB5CJtzHEvudOZb0fIeGuSwvrClwnW0N7Qvg4N/mDx+Q=
X-Received: by 2002:a1c:f311:: with SMTP id q17mr2910524wmq.28.1604067843823; 
 Fri, 30 Oct 2020 07:24:03 -0700 (PDT)
MIME-Version: 1.0
References: <329c5dbd-dfc7-406e-9957-71f3b94409b0@default>
 <CABczVwcWkt5L++G2aWoQAjOn97d-ZU8fw1q11+sw6qHggM0unw@HIDDEN>
 <83o8kjakxx.fsf@HIDDEN>
 <CABczVwfpwOxw2Gv-ob_pXufD7+SUojnDKAs1vjGzUcB7k9PFtA@HIDDEN>
 <83lffnajes.fsf@HIDDEN>
In-Reply-To: <83lffnajes.fsf@HIDDEN>
From: Mauro Aranda <maurooaranda@HIDDEN>
Date: Fri, 30 Oct 2020 11:23:51 -0300
Message-ID: <CABczVwc0RAvsz_7oY1vA=cdDB8VLtHuqU-MEQKU1dy_QqextRA@HIDDEN>
Content-Type: multipart/alternative; boundary="00000000000006dce705b2e42677"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--00000000000006dce705b2e42677
Content-Type: text/plain; charset="UTF-8"

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Mauro Aranda <maurooaranda@HIDDEN>
>> Date: Fri, 30 Oct 2020 11:03:39 -0300
>> Cc: Drew Adams <drew.adams@HIDDEN>, 14635 <at> debbugs.gnu.org
>>
>> > Doesn't customizing a face record the original value in some property
>> > of the face symbol?  If so, reverting the customizations should use
>> > those recorded values, I think.
>>
>> AFAICT, it doesn't right now.  I followed the recipe I gave, and then:
>> (symbol-plist 'default)
>> The relevant properties I see are:
>> * face-defface-spec ==> ((t nil))
>> which won't take us anywhere.
>> * theme-face, which has the customized value for the user theme, and
>> * customized-face, which again, has the customized value.
>>
>> But I see no immediate reason why we shouldn't start doing it, if you
>> think it is OK to use that to solve this issue.  My only questions are
>> if it would be best to do it in Customize or in faces.el, and if we
>> should only special case the default face.
>
> I'd begin with doing this in Customize, since it is the only user of
> this property.

I'll try to do it.  Thank you.

--00000000000006dce705b2e42677
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Eli Zaretskii &lt;<a href=3D"mailto:eliz@HIDDEN">eliz@gnu=
.org</a>&gt; writes:<br><br>&gt;&gt; From: Mauro Aranda &lt;<a href=3D"mail=
to:maurooaranda@HIDDEN">maurooaranda@HIDDEN</a>&gt;<br>&gt;&gt; Date:=
 Fri, 30 Oct 2020 11:03:39 -0300<br>&gt;&gt; Cc: Drew Adams &lt;<a href=3D"=
mailto:drew.adams@HIDDEN">drew.adams@HIDDEN</a>&gt;, <a href=3D"mai=
lto:14635 <at> debbugs.gnu.org">14635 <at> debbugs.gnu.org</a><br>&gt;&gt; <br>&gt;&g=
t; &gt; Doesn&#39;t customizing a face record the original value in some pr=
operty<br>&gt;&gt; &gt; of the face symbol?=C2=A0 If so, reverting the cust=
omizations should use<br>&gt;&gt; &gt; those recorded values, I think.<br>&=
gt;&gt; <br>&gt;&gt; AFAICT, it doesn&#39;t right now.=C2=A0 I followed the=
 recipe I gave, and then:<br>&gt;&gt; (symbol-plist &#39;default)<br>&gt;&g=
t; The relevant properties I see are:<br>&gt;&gt; * face-defface-spec =3D=
=3D&gt; ((t nil))<br>&gt;&gt; which won&#39;t take us anywhere.<br>&gt;&gt;=
 * theme-face, which has the customized value for the user theme, and<br>&g=
t;&gt; * customized-face, which again, has the customized value.<br>&gt;&gt=
; <br>&gt;&gt; But I see no immediate reason why we shouldn&#39;t start doi=
ng it, if you<br>&gt;&gt; think it is OK to use that to solve this issue.=
=C2=A0 My only questions are<br>&gt;&gt; if it would be best to do it in Cu=
stomize or in faces.el, and if we<br>&gt;&gt; should only special case the =
default face.<br>&gt;<br>&gt; I&#39;d begin with doing this in Customize, s=
ince it is the only user of<br>&gt; this property.<br><br>I&#39;ll try to d=
o it.=C2=A0 Thank you.</div>

--00000000000006dce705b2e42677--





Last modified: Fri, 30 Oct 2020 14:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.