From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Why is custom--inhibit-theme-enable not t by default? Date: Wed, 13 Jun 2018 22:34:56 -0400 Message-ID: References: <10b7bd657091b074d8da1bf1ae35b1f4.squirrel@dancol.org> <83h8m8owp2.fsf@gnu.org> <48a7bd1277a18dd0a68d06cd8b022062.squirrel@dancol.org>> <83vaao3qrn.fsf@gnu.org>> <874li63iit.fsf@tcd.ie> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1528943594 29150 195.159.176.226 (14 Jun 2018 02:33:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 14 Jun 2018 02:33:14 +0000 (UTC) Cc: contovob@tcd.ie, eliz@gnu.org, dancol@dancol.org, emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 14 04:33:09 2018 Return-path: Envelope-to: ged-emacs-devel@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 1fTI4T-0007Qn-9x for ged-emacs-devel@m.gmane.org; Thu, 14 Jun 2018 04:33:09 +0200 Original-Received: from localhost ([::1]:37794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTI6a-0004KE-Bt for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2018 22:35:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTI6T-0004JP-8b for emacs-devel@gnu.org; Wed, 13 Jun 2018 22:35:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTI6S-0002DK-Ag for emacs-devel@gnu.org; Wed, 13 Jun 2018 22:35:13 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTI6C-00021g-SX; Wed, 13 Jun 2018 22:34:56 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1fTI6C-0004Rc-BC; Wed, 13 Jun 2018 22:34:56 -0400 In-reply-to: (message from Drew Adams on Wed, 13 Jun 2018 07:22:24 -0700 (PDT)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:226312 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > Doesn't the command disable-theme undo the application of a custom > > theme? > No. Summary: There is no function that takes a snapshot > of the Emacs state (even, e.g., as a custom theme) before > applying any custom theme - which snapshot can then be used > to restore that pre-theme state. Perhaps we should redesign the way themes work so that a theme is represented by data that says what it does, and we could turn it on and off. -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)