From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: [External] : Re: Smarter M-x that filters on major-mode Date: Sun, 14 Feb 2021 23:30:03 +0000 Message-ID: References: <8ed9b43502ae1480e06b@heytings.org> <87blcrdlqf.fsf@gnus.org> <87v9aydg3f.fsf@gnus.org> <83y2fuheph.fsf@gnu.org> <87im6yd4sz.fsf@gnus.org> <8735y2y44f.fsf@gnus.org> <87mtwajua4.fsf@telefonica.net> <87eehmwfeg.fsf@gnus.org> <87blcqjq45.fsf@telefonica.net> <875z2ywbvm.fsf@gnus.org> <87pn16mehu.fsf@gnus.jao.io> <87o8gpvdfd.fsf@gnus.org> <87a6s9mf87.fsf@gnus.jao.io> <87o8goryuj.fsf@gnus.org> <87y2fqepza.fsf_-_@gnus.org> <87pn12u3x8.fsf@tcd.ie> <87h7meenj0.fsf@gnus.org> <87blcmr1dv.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32682"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "Basil L. Contovounesios" , "emacs-devel@gnu.org" To: Juri Linkov , Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 15 00:39:10 2021 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 1lBQys-0008PV-8e for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Feb 2021 00:39:10 +0100 Original-Received: from localhost ([::1]:52712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBQyr-00060S-5c for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Feb 2021 18:39:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBQqH-0003KR-Ib for emacs-devel@gnu.org; Sun, 14 Feb 2021 18:30:17 -0500 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:51528) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBQqE-0000p5-5I for emacs-devel@gnu.org; Sun, 14 Feb 2021 18:30:17 -0500 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 11ENUCvb166409; Sun, 14 Feb 2021 23:30:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2020-01-29; bh=qio8xvSiQqHJv2CRQZxxmR/FjzqGpplonS0ct4Gn9dk=; b=a2NW096kSgHdUaOVBxqR44S8NXnHHRqvq7NJC+iNOST0wh5+6Pv9c/f17Lnl/XOdP3Hp MFdGNS14+50GvERQeiuHzU39eozM315ow+RsY//4OplhYWcxMrW8JOd/qze/QNCQjVga rzruXHapdQtq6TanZI5X4H7b85hi/N/VOVtEkUPQ6oh00H+6h95aTmowI4CfmbbBqmUd tdJ0OHp1Acrclt8YHY2JrnoM4ao2xyCWBCPbju3IwdGDUdpDzXCd0w4Sb0oDDvQrp8qf Akezf6e4bbDu7cdPGvlsBBiINmzyt3j7d4WRXOBIJdJJ3J7eb6fSTqkIaEsrd/TChUkD 0w== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2130.oracle.com with ESMTP id 36p49b2khp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 14 Feb 2021 23:30:11 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 11ENPNvf159907; Sun, 14 Feb 2021 23:30:05 GMT Original-Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2172.outbound.protection.outlook.com [104.47.58.172]) by userp3020.oracle.com with ESMTP id 36prhpppyy-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 14 Feb 2021 23:30:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dunXqJnCa5aH5jSL3xqDq3fsmJ1JCWNaEyeqXgGe4AyabeXjXxiO4M0YbMCgB964oZ9iWHHwigXI8ZUl3ajRxRvw+HP1FIzK5s31gZDx/FpjbpLDt+0yXWM/ZlPH/7aSKNKr9uWS1dCSnNYSo7S4VVDJoX1LZGoSwldDn1Xr678miQI75LDhaFWEhMGqZPJnDHFDHbTHwMgll1WIvP8PizOk269uxrQ5B9r4Ju3sG+gj62J44UjNVyBQ+lsYdhF2H5Hn0bRJU8rrsS/T+W5X1CPwVyGZoDXbBeEIZl9IUT1Eo50TQsN5UR79+xomst8nalku9HHw78fw4sMyKKm6Tg== 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=qio8xvSiQqHJv2CRQZxxmR/FjzqGpplonS0ct4Gn9dk=; b=Dh3XshnqfTjNdTaxZ95eyKQ4TWaRQ+X3zoinx259agkiq1vWYGXHrNdxrO/RKNXm8fRyCKiZG43ueGDWZUmlbjKzLBeSn7lHH9+pqmwXcKc0vfjgdHPO3oa8WJ/mG9oXD9zLtvy168amFj8IiznxchJR6PJ5rKEOIvDgKbhMaokhSmsYDBojmPEbEp4HqcVK4swBaa7Zj1LKKFwyQ0bTkPwfnjXMifYkrX1E3NQlpJr7FnQQ9XIO+zohay6lRtX3XPU/p2tjVZMY2PY76sEecNCnzLtnFXwhpKH5UU38Os4qfeLFdjZPrYSYWqernSSkjTqFNKmtnRA5/3rmkCfiYg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qio8xvSiQqHJv2CRQZxxmR/FjzqGpplonS0ct4Gn9dk=; b=W/G2AakBYSXC6NdWLnY0mRwD4XvWpItAhvgYDF3ROM02nh6egKmu2Wc9euD7WynMbpshctOkad87hm6XHJUunhFtuBES6SjxL9db6RC2HjtYDo6fWnF5csl29d7Y1E5bt9CoJIL3cFOUUJ+ezXPchmFFpIy47czenA8HfgIQTCo= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SA2PR10MB4490.namprd10.prod.outlook.com (2603:10b6:806:f9::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.27; Sun, 14 Feb 2021 23:30:03 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::b8d2:db6d:3e4b:d315]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::b8d2:db6d:3e4b:d315%5]) with mapi id 15.20.3846.041; Sun, 14 Feb 2021 23:30:03 +0000 Thread-Topic: [External] : Re: Smarter M-x that filters on major-mode Thread-Index: AQHXAvp2RB7Xz6YbGk+/K67C2xf9papYNHjQ In-Reply-To: <87blcmr1dv.fsf@mail.linkov.net> Accept-Language: en-US Content-Language: en-US authentication-results: linkov.net; dkim=none (message not signed) header.d=none;linkov.net; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8432286c-203c-4cb0-fac3-08d8d1407484 x-ms-traffictypediagnostic: SA2PR10MB4490: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5u5wV8gjSrMcxLLeyvq0B3tiOfhsfw4z3gjXsyvm/zmeVRwI1k0DuNZP6pHpKF4hTsWXh6bC2DaaRa+IC0htwxhhjpY00TEBc9swcwzcc5e32kot6KIJWYCsw+iievUnSIr+CScgM2OVF5DTmpoWc0ZuPnEefTmoUZH6fSLJnKSzayWNnnQaBeHrVGbgPh5ylM/q8G7Uo6J5teTNKTFOxMKoZ37Fa68ZgwfTdHYzVLpz+i0jZEU8esbkNYKIyIVbFDovOUA1J4j0Io5HANS0kuzGlIOHkXSKDKFL4tz2i1NAdR/Cfx2UndwDz/rW5WsAanwJA28+nGFiswisYNzj8+5mgwE/zaRiIj2sCASpdcaV2nOjUdConihXgTh+OD3fTSBtPdf8kB23ynu6Wyye4HvtjJp0yqqQT20WWsCiNEf7Z+G6eFJBrqHFpKh+1YlZGXNbdUbPAOr+85np1r5oitCtoG+J30hp5zGcOKotUEahKOq8tNEoBCtHSlOts45AFbL1x4PevpBPAHdFp82iNA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(396003)(136003)(39860400002)(346002)(376002)(366004)(4744005)(5660300002)(33656002)(76116006)(66476007)(66556008)(8676002)(7696005)(64756008)(44832011)(71200400001)(66946007)(83380400001)(66446008)(478600001)(8936002)(110136005)(26005)(9686003)(2906002)(55016002)(186003)(316002)(86362001)(4326008)(6506007)(54906003)(52536014); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?dDOU4RtWAocmIvIdTVdxMDkwHksdst53JFBwjTZ6W75nZUfzPPSsmMLybGdV?= =?us-ascii?Q?dTrFEauWvnxR4zClJIDnI9OUZgCaoO7TLzhFiSGn+y8u57ojoKHXF/lKhZip?= =?us-ascii?Q?UJmGdwsXEhnABJjSnANwMdX04j0gAH3H2NxXeLmk2/Df8ygfAhuDrHIPcnnf?= =?us-ascii?Q?s+RdbF800u5YuDZ2Rko7JD5bEpjN/yf/CqlYyzgChVZI4//DVnh8gNxESgP7?= =?us-ascii?Q?sttbV7k+XHeiPxr3BUKz/ExtmmbFJREvzXtsN7ZPyDSQRw5eolJ+puQjlSVN?= =?us-ascii?Q?gloiKzu3Y0hbivwAbL1YhSewKbGn74FfPXG6XFinrs5EU0Yx/uOjWSiMRQZz?= =?us-ascii?Q?0bV9l3N5FDmIXEhX6ranWGBZxSYPehN4PqUATmEDHUnRhOz/0pAufS9lPlAd?= =?us-ascii?Q?TZrS17q2Z4H6gFDFYOh6Mb8cppEaUDO9KAuGZIutcF6BbI9jzN7yOrlMk552?= =?us-ascii?Q?QmwgBpa8wx9vhwA2AX6jA3hzzRXW4Hb5ndLH8x4kAKXZlA/wImpGYAZMwUKu?= =?us-ascii?Q?DcSvg5kFl2mhRIwFFb94dOaHdMkwFBkJ94t6qV4XjibAakG+GdwNEhRfyj3+?= =?us-ascii?Q?enShKzN4bXPE1M7Pf1lwVYznY6MFMAbauehnfjurN/hAs43OWtU5xMUlUA2M?= =?us-ascii?Q?EiWB x-ms-exchange-transport-forked: True X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8432286c-203c-4cb0-fac3-08d8d1407484 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Feb 2021 23:30:03.4983 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rjigS7aOtVNArc308e/ZuDU/sPswZWAFEX6DlF2i3rnEAa5kPCDrC1jRd513oML8ohTxl5BDpSwW1sgnW0ZMpw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4490 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9895 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=677 adultscore=0 mlxscore=0 bulkscore=0 suspectscore=0 malwarescore=0 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102140199 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9895 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 priorityscore=1501 lowpriorityscore=0 bulkscore=0 impostorscore=0 mlxlogscore=971 adultscore=0 malwarescore=0 phishscore=0 clxscore=1015 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102140200 Received-SPF: pass client-ip=141.146.126.79; envelope-from=drew.adams@oracle.com; helo=aserp2130.oracle.com X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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:264807 Archived-At: > Instead of this, more Lisp-like solution I disagree that there is anything more Lisp-like in what you suggest. Neither more nor less Lisp-like. I don't think there's any relation to lispiness here. > would be like removing redundant :group args from > defcustom when there is a defgroup before them. And that's misguided, IMO. It makes things less clear for a human reader, particularly when multiple :group's apply to a given option/face or when there are multiple defgroup's in the file. And besides being less clear visually, it can be error prone to move definitions around (e.g., when they are kept in some non-dependency order such as alphabetical). These reasons against that practice are admittedly not super-important. Another argument is that nothing much is gained by this shortcut. Better to just declare all :group's explicitly.