From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Systematic implicit aliases for option variables Date: Mon, 28 Feb 2022 23:24:49 -0500 Message-ID: Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1335"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 01 05:26:10 2022 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 1nOu5R-0000AM-9w for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Mar 2022 05:26:09 +0100 Original-Received: from localhost ([::1]:34286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOu5Q-0000hK-2W for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Feb 2022 23:26:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOu4A-0007SP-77 for emacs-devel@gnu.org; Mon, 28 Feb 2022 23:24:50 -0500 Original-Received: from [2001:470:142:3::e] (port=54708 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOu49-0000jP-Ud for emacs-devel@gnu.org; Mon, 28 Feb 2022 23:24:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:Subject:To:From:mime-version:in-reply-to: references; bh=dJZ+OZICypf8aqzsE19NCnhjPJi54R43qszUJPjn2lE=; b=lJ7vCxfem4xBPq oyN6tYtWIGMugcWL9Whui9yu4ATs5APFf/b+xz8RTZ7nJLR0MSQQCzy246ICjq5zKbAi9ETqnRCUQ WrooiKA3Sgt+GUmyp5H2GcIrn4hFXpCJdlr+wGIs0+0OzuRhJ3wwNvP6dcagfnDKRRceQKAPxlYBx D/eL/IN8iXJjS5uBGG/KYkXbKfFTrIB3w6ihqZXAPdAvYUvrFS8vNsX7wI/h7pS8VRGrMgHREQCL2 OkgQyMsLCAYAv2nDm8RaWWNhhJvY+JQbcorB/QulcyvXAxGQkRcYntGBnfPGHKAYbbnqiLiCz5Hls NkqOPBrWz9vAs40s2BNg==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1nOu49-0003S0-Gi; Mon, 28 Feb 2022 23:24:49 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:286743 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. ]]] `occur' is an alias for the command `list-matching-lines'. `occur' may be used by more people than `list-matching-lines'. There are options named `list-matching-lines-*', but people who know the command as `occur' may not think to look for options with those names. Does it make sense to define a command `customize-command' which takes a command name as argument and shows you the options that are pertinent to customizing that command? If you give it `occur', it would recognize that that is an alias for `list-matching-lines', and show you the options pertinent to `list-matching-lines'. You wouldn't need to know that `occur' is an alias. I think the hard part of this would be adding a data base to find the custom groups that are pertinent to any particular command. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)