From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#44598: [PATCH] Do not show obsolete options in customize Date: Thu, 12 Nov 2020 17:08:20 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26384"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44598@debbugs.gnu.org To: Mauro Aranda Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 12 23:30:09 2020 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 1kdL6T-0006ih-Hz for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Nov 2020 23:30:05 +0100 Original-Received: from localhost ([::1]:58456 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdL6S-0006jA-Gf for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Nov 2020 17:30:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38456) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdKm6-0001hC-RC for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 17:09:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34330) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kdKm6-00068M-Hn for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 17:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kdKm6-00014W-CM for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 17:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Nov 2020 22:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 44598-submit@debbugs.gnu.org id=B44598.16052189084081 (code B ref 44598); Thu, 12 Nov 2020 22:09:02 +0000 Original-Received: (at 44598) by debbugs.gnu.org; 12 Nov 2020 22:08:28 +0000 Original-Received: from localhost ([127.0.0.1]:45876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdKlY-00013l-KE for submit@debbugs.gnu.org; Thu, 12 Nov 2020 17:08:28 -0500 Original-Received: from mail-ej1-f46.google.com ([209.85.218.46]:36222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdKlX-00013Y-4v for 44598@debbugs.gnu.org; Thu, 12 Nov 2020 17:08:27 -0500 Original-Received: by mail-ej1-f46.google.com with SMTP id o21so10351997ejb.3 for <44598@debbugs.gnu.org>; Thu, 12 Nov 2020 14:08:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=PEV1AgNVp4uJvTVPl6Rr7anvaY9clSOwmNw/FycPh5Y=; b=Zi/MXNVDMfWzI1e0U4yJDwsluyx9HnotSZuDZ972cMJQeeKN3fxw0zw/JQ8NfSunPR M6hs2nU+jUwH/7e8cXkFUYk5+w2bFRQEDi2nqsfQuIRPYKBJIb/a0u3+kecyuUtGHtTF QgQmqCPkR9O8eIwH+weDH3cRcXyyB6oqI+xEASq2Zkhuwr4HrZjFQ/pVLtyTIzD5u0nt 5BHD9AMonfj0dTJeOxPUAAzqLWNLorxHa0v2vtd/DKs/LnwNmdpmGaclwSeLT2potDN1 CF4Ex2JY19iMZJOTXOfgUq1hRCGoCXGodTEPHRkgIsPvYUruOgaCUc+7idKyo4oLR0+n 9OQg== X-Gm-Message-State: AOAM530tE3fkE3g7uV4rdmeOn46lnJ3A+0LXjIi754XbWcizU9krp0Wf Y9L4Dw5BDt1j0r3mtDKLusnvxrEnGxIdYjod0DY= X-Google-Smtp-Source: ABdhPJyjFrWHt7S1Tsf7GDJ39SwvKs/BuG4dxV4unqrT6osA8u6Uk6e+U9KP49CI+3Gs9lmomTdOQ6IKo4vlrZX/PvY= X-Received: by 2002:a17:906:519b:: with SMTP id y27mr1402156ejk.25.1605218901476; Thu, 12 Nov 2020 14:08:21 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 12 Nov 2020 17:08:20 -0500 In-Reply-To: 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:193188 Archived-At: Mauro Aranda writes: >> +*** Customize will no longer show obsolete user options. >> + > > Only when customizing a group, it seems. They still show up when using > customize-apropos (quite common), customize-saved (for an old setting, > it could be somewhat common), or when asking to customize them directly > (although that could be less common). I don't know what others think, > but perhaps customize-saved should still show them: after all, it is a > current user saved setting. Thanks, I overlooked that. I think `customize-option' and `customize-saved' should still show them, indeed. Excluding the above, is `customize-apropos' otherwise an exhaustive list of the commands where they would still be visible? I never use `customize-apropos', so what do you think makes sense for that command? Should it still show it? > Because of the above, perhaps it's too early to remove it? Perhaps, yes. I could just mention in its docstring that it's obsolete instead, since I can't find any facilities to mark a defface obsolete. Or maybe someone will enlighten me and tell me how it's done... > And the same goes for this: if the option is still likely to pop up in > some other Custom buffer, then this is useful information we might want > to keep showing to the user. Good point. I'll take a look at what happens with `customize-option' in particular, where we would want to mention that information. > Nit: perhaps seq-remove? Sure.