From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#57639: Toggling, in general Date: Tue, 20 Sep 2022 17:50:24 +0530 Message-ID: <87y1ueme47.fsf@gmail.com> References: <875yhzmz25.fsf@posteo.net> <875yhzmj50.fsf@gnus.org> <875yhzl3a1.fsf@posteo.net> <87fsh25bso.fsf@gnus.org> <871qsil3jm.fsf@posteo.net> <87fsgygo7c.fsf@gnus.org> <87a676jfx2.fsf@posteo.net> <87bkrmdt46.fsf@gnus.org> <8735cxpx2r.fsf@posteo.net> <87k066yyn0.fsf@posteo.net> <877d269kgv.fsf@gnus.org> <87bkriyqci.fsf@posteo.net> <874jxa6kyj.fsf@gnus.org> <87o7vdg97w.fsf@posteo.net> <831qs926np.fsf@gnu.org> <871qs9fzz5.fsf@posteo.net> <83h715yxz2.fsf@gnu.org> <87h715dnut.fsf@posteo.net> <83a66wzvxw.fsf@gnu.org> <87illk4z9d.fsf@posteo.net> 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="39462"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: larsi@gnus.org, Philip Kaludercic , eliz@gnu.org, 57639@debbugs.gnu.org To: Richard Stallman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 20 17:06:54 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oaepq-000A6N-Ai for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Sep 2022 17:06:54 +0200 Original-Received: from localhost ([::1]:37972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oaepp-0004Xk-25 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Sep 2022 11:06:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oacFL-0003s4-Ol for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 08:21:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57391) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oacFL-0000oh-Ex for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 08:21:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oacFL-0008O2-9r for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 08:21:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Sep 2022 12:21:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57639 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 57639-submit@debbugs.gnu.org id=B57639.166367644432176 (code B ref 57639); Tue, 20 Sep 2022 12:21:03 +0000 Original-Received: (at 57639) by debbugs.gnu.org; 20 Sep 2022 12:20:44 +0000 Original-Received: from localhost ([127.0.0.1]:56466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oacF1-0008Mu-Ur for submit@debbugs.gnu.org; Tue, 20 Sep 2022 08:20:44 -0400 Original-Received: from mail-pj1-f68.google.com ([209.85.216.68]:44639) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oacEw-0008Md-0C for 57639@debbugs.gnu.org; Tue, 20 Sep 2022 08:20:42 -0400 Original-Received: by mail-pj1-f68.google.com with SMTP id i15-20020a17090a4b8f00b0020073b4ac27so2272707pjh.3 for <57639@debbugs.gnu.org>; Tue, 20 Sep 2022 05:20:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=mYo33MGrJRMJAsfkA9Na8qk70IyEc2ah5xgrQP1+/00=; b=HrtneCaR5MmnmdMJ5WGGbLuuIIO6a9dexm8PCkjYK14cdiN+AfD6S4o1C2zufD5jOM bAl16Vp/2f7HroBKkMTCqm7BqvnFAMpry1Btht/yI8gWh6xG2CbM/flLR+0GR/Ox+NYy LnrC+rltHHKYwvGl5prszYNU+7NahWZjAax8vWUQnNemAnWzKj0Y1kXYNxMXaTPDWvrT qpoxUwRvjv45U5KBFAJ/6p2cf4JPOCjaFZgFWl9eSFyoSyoxQ0iQ8MUgSmBGQeq11UPr hBbtCjbiipSpHVosjl27pMBIRYEW+vd/IVLvksvYQOsLTUEp+2/eTs17HIhSAGO7TvBg L5sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date; bh=mYo33MGrJRMJAsfkA9Na8qk70IyEc2ah5xgrQP1+/00=; b=K/GOb5NFtumAJo1u+GtXTJAgcFbVsAlba+v5/5acEn2PU2GYC8+1sLkRO2OHb6ADEP gL9EcLoOYxp7yd/tYX0+D00PFZkh7SEH6IvC190GOpCQEugF3ozyR3evTZ6fpj6xtqR3 uthCeY8xkeV6fcizv0gNQVurHhw5oILWDKc+M0giPnK5qFRDu0VH34+lsbXas3pgqsHM MM7+ZVOo3j/jZEAlrgiXDJMJAud5MasQ2Q9BjWGLF3iy99iaU/KeSbOrk9z0B3KHSb9h GPZWPU1ZBpcqicVoaLlnIEH0eT97sNSGISQuXdN9UXaFcBVp+5ha6AIQMSI1ggV7dRp0 Pr+g== X-Gm-Message-State: ACrzQf29dM5iEjgm0FNnkv6Mip6AHPGU69tPVOf+h12A8IPd6HYN6Z53 wRpJ5em3Zvpa7OJ2urIa80Q= X-Google-Smtp-Source: AMsMyM75eAZnyyYxMC/LTSw10Dn+KCCuMMcnU+DgXonX3cOJO+qZHTEXabpBclU/ZqSu5b2xjnWxaQ== X-Received: by 2002:a17:902:dad2:b0:178:401c:f66d with SMTP id q18-20020a170902dad200b00178401cf66dmr4569014plx.157.1663676431948; Tue, 20 Sep 2022 05:20:31 -0700 (PDT) Original-Received: from localhost ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id r19-20020a63ce53000000b00434d9ba7817sm1472800pgi.30.2022.09.20.05.20.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Sep 2022 05:20:31 -0700 (PDT) In-Reply-To: (Richard Stallman's message of "Mon, 19 Sep 2022 23:40:33 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:243173 Archived-At: [=E0=AE=A4=E0=AE=BF=E0=AE=99=E0=AF=8D=E0=AE=95=E0=AE=B3=E0=AF=8D =E0=AE=9A= =E0=AF=86=E0=AE=AA=E0=AF=8D=E0=AE=9F=E0=AE=AE=E0=AF=8D=E0=AE=AA=E0=AE=B0=E0= =AF=8D 19, 2022] Richard Stallman wrote: > Is anyone investigating the idea of a more general UI facility > for toggling various kinds of settings? Custom themes are a perfect candidate for this general facility. You can turn on major and minor modes, set variables as a part of a custom theme. So these "presets" could be different custom themes and we can have a command to toggle between said themes. [ You need not have to worry about custom file getting mangled since user options set by a custom theme are not saved [1]. ] > This oculd be a prefix key. Though, I'm lost here. If we are talking about, say, send-mail as the command to be run, you're saying this prefix key would change the From address, Signature, etc. right? Then I think having such a command would be welcome. > Or we might be able to do this more deeply, and implement toggling > various kinds of settings with one Liep command. See above, if we use custom themes, this should be trivial. 1. Only those from the special 'user' custom theme are saved.