From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: A modern-mode? Date: Fri, 18 Sep 2020 06:50:13 +0200 Message-ID: References: <87v9ge3tet.fsf@gkayaalp.com> <83bli57dug.fsf@gnu.org> <20200916213609.GA635@breton.holly.idiocy.org> <20200917191743.GC635@breton.holly.idiocy.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38010"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Alan Third , Thibaut Verron , emacs-devel , "self@gkayaalp.com" , Eli Zaretskii , "mardani29@yahoo.es" , "akrl@sdf.org" To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 18 06:51:47 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJ8N9-0009lB-8j for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Sep 2020 06:51:47 +0200 Original-Received: from localhost ([::1]:48976 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJ8N8-0001AD-BO for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Sep 2020 00:51:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJ8Ln-0000WD-S3 for emacs-devel@gnu.org; Fri, 18 Sep 2020 00:50:24 -0400 Original-Received: from mail-am7eur06olkn2048.outbound.protection.outlook.com ([40.92.16.48]:64832 helo=EUR06-AM7-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJ8Lk-0000H5-9z; Fri, 18 Sep 2020 00:50:21 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m99UnU9ZC4kpC6az2mnP5pIfBOEC/BqeOWTsCD4NCzXJpI9MBBc7s4Tc9n1CSbjwa/OrTouR4EufZsU2Qi/hG/rI5M0TFKU8T1eMo8Ra+nk9QK9co2+DvANRUKkXUQR/OrxoT0A69G+SiliJR0K9qIG5YUFtJ/cmSWyJikpb3nTAcVAqrRjWjJ6B0sd/88D2Mjp+sNyrguluGZjrg9E5WG03zilzgWBsjjm/HFPPkzdcb1unyVYxTtFgVF1wotlUHgU1NxrUV6Wr7kjlONkGAOpOODNZsZMCf7s32IbRD41cZVkCZ9lFCJ8WheZMy8vX6UHNxUK3/R+9Bt3XK+UCnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QMi0MYYekX3TqnSmp9y9Z8myh3xDn1Cc2EoGioh1cl0=; b=PcJij9DFVzct3Xwh+gy7WgLdAhOCvHh/Ec+K1cFBHKDH2gHzTs5hwEjZTAJutJVVPRYeUjV5IA70jq4hYd7MmlhFKjgC1rtrja7cRjwXsXlRPCLFk8yE4EGygJOhGHml5zBhpDqZSOZIwpth267RH9THvdWMkFip5mnduahFuJTFkB6UKZ8RMdXDoUC5FdQ3QcChoz2M4gD9EaDPazgl0QZg1cIqGciYy8N/7ycFZNkjPN+ttAZQy6zr4BdE9/ZZAeYpwPq8jhcok87KZaTUcQhtdPJrG+a1Yq+riTpitpvayySJ2A6n5JCoGQ+AdQ+/1gqWulDNNWDW1eNRka2n3g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QMi0MYYekX3TqnSmp9y9Z8myh3xDn1Cc2EoGioh1cl0=; b=GU4ezLzXebTBUACwU/8qHaTLXS+szE7UmvwiI645PcOrX+l45kOlToCfjOTqVFIUvNgdEbhPbmhRiso1HV8DJEEDV1hSlJNFRZRmKtlnNlVKgpMAvetxD/+D1bXR/eX4fm7qcHweSu25NGC9I2GmHaPk0Y3C8uWjAfbBOiCIcySZ6DPbNds0JKOjm+AvQRqQ1cYQFQZXhFZFXDf/zAIuZcVo0kN/pkfxv2sbrzQBBuCwh3/Aj+eThdZSqS/pI4WXtAbYjZAZO/mmVFRyXsoyCJVw9deUUwBDLNN6KM3Y+w33/g5fkSQg4D2EwYM1QdVAruHKaxUhEN4ShAaXMHm/iA== Original-Received: from AM7EUR06FT059.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc36::4f) by AM7EUR06HT024.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc36::355) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.15; Fri, 18 Sep 2020 04:50:16 +0000 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:fc36::42) by AM7EUR06FT059.mail.protection.outlook.com (2a01:111:e400:fc36::124) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.15 via Frontend Transport; Fri, 18 Sep 2020 04:50:16 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:B8797C9800D1085D0ECED8B87D685F12B6F8D7BF84F7409482BCA5FEDCA46A30; UpperCasedChecksum:00388D5A73E41D21AE23CDC4765990BCB29BCD3BE0DE5E1CDA89AB86A387770B; SizeAsReceived:9511; Count:48 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::b547:51cd:16c5:4487]) by VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::b547:51cd:16c5:4487%7]) with mapi id 15.20.3391.017; Fri, 18 Sep 2020 04:50:16 +0000 In-Reply-To: (arthur miller's message of "Thu, 17 Sep 2020 19:54:56 +0000") X-ClientProxiedBy: AM5PR04CA0020.eurprd04.prod.outlook.com (2603:10a6:206:1::33) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <87pn6jhenu.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM5PR04CA0020.eurprd04.prod.outlook.com (2603:10a6:206:1::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.14 via Frontend Transport; Fri, 18 Sep 2020 04:50:14 +0000 X-Microsoft-Original-Message-ID: <87pn6jhenu.fsf@live.com> X-TMN: [9QnwtqKcTKFcb8d5sh3vPZaj66H6xAFy] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 48 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: aac3554d-f8a6-48cb-3849-08d85b8e556a X-MS-TrafficTypeDiagnostic: AM7EUR06HT024: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: COfRXXuitgGlO4aPFWsPEcaGhSZKDnt+YnuPmg+wnD4QJkIGIZC5Cg6N1C4DxqJH0g706u6wEQLc7q5mB/Src9/KhdIL7vrnvX//y2Ea48cJH1dji/NQ9LYIMgfRpW+DbBdB0gbTwTigPlB/PJDekw+skKlj7yGap/9hakJH7rOhHVX61rHVu3EQ/HGNYnwC9k5lT3gyr0KhpspJX4jGBg== X-MS-Exchange-AntiSpam-MessageData: OfYFwyg8zDsFSjS0KKdTV82hmyKa0TfBfJIMu6dZqIsDNJIR0uRAbZXle5HlPb6fZbH+yVTaRF0gR3+AvlsdC6lSPErve+UiB0alJzGvTcyAi6GKqrY2LAgdghimWoklEb72d6Wr3QhhS8fzkJySdg== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: aac3554d-f8a6-48cb-3849-08d85b8e556a X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Sep 2020 04:50:16.3565 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: AM7EUR06FT059.eop-eur06.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7EUR06HT024 Received-SPF: pass client-ip=40.92.16.48; envelope-from=arthur.miller@live.com; helo=EUR06-AM7-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/18 00:50:17 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:256048 Archived-At: arthur miller writes: > Can't customize already show ui to turn on/off features without showing e= lisp?=20 > > Can't there be just a customize group or page where people can turn on/of= f features and similar? What makes theme more > suitable? > > I am sorry if I am a tad bit obnoxious, my goal is not to be negative, ju= st "thinking loud". > > -------- Originalmeddelande -------- > Fr=C3=A5n: Stefan Monnier =20 > Datum: 2020-09-17 21:43 (GMT+01:00)=20 > Till: Alan Third =20 > Kopia: arthur miller , Thibaut Verron , self@gkayaalp.com, akrl@sdf.org, Eli > Zaretskii , mardani29@yahoo.es, emacs-devel =20 > =C3=84mne: Re: A modern-mode?=20 > >>> By the way, why would anyone turn off features and then recreate >>> them in their init file? It seems like very convoluted use case to >>> me. >> As opposed to turning on features with a theme then turning them off >> again in their init file? >> I've seen enough people ask how to implement spacemacs/doom features >> in vanilla Emacs to know that this happens. > > BTW one of the advantages of themes is also that we could provide a UI > that displays the various elements of that theme (without having to show > ELisp code). > > Stefan Sorry, I have been looking into manual about themes and custom.el; sure theme can do anything so I understand it now :-). "Custom themes are collections of settings that can be enabled or disabled as a unit. You can use Custom themes to switch easily between various collections of settings, and to transfer such collections from one computer to another. " ".... loading a Custom theme can execute arbitrary Lisp code ..." "To apply the choice of theme(s) to future Emacs sessions, type C-x C-s (custom-theme-save) or use the =E2=80=98[Save Theme Settings]=E2=80=99 butt= on." So indeed it can be used for anything. Though I would rather call such theme for a "mode" but that would be really a confusion since Emacs modes are different things.