From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: Adding customization types Date: Tue, 19 Sep 2017 16:49:15 -0700 Message-ID: References: <87zi9vn019.fsf@x230.lts> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1505864985 4799 195.159.176.226 (19 Sep 2017 23:49:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 19 Sep 2017 23:49:45 +0000 (UTC) User-Agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.2.50 (darwin) Cc: emacs-devel@gnu.org To: Etienne =?utf-8?Q?Prud=E2=80=99homme?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 20 01:49:40 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1duSGp-0000xX-CM for ged-emacs-devel@m.gmane.org; Wed, 20 Sep 2017 01:49:39 +0200 Original-Received: from localhost ([::1]:45903 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duSGw-0000GN-RP for ged-emacs-devel@m.gmane.org; Tue, 19 Sep 2017 19:49:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duSGp-0000GB-Cy for emacs-devel@gnu.org; Tue, 19 Sep 2017 19:49:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1duSGl-0000i0-L8 for emacs-devel@gnu.org; Tue, 19 Sep 2017 19:49:39 -0400 Original-Received: from mail-it0-x22d.google.com ([2607:f8b0:4001:c0b::22d]:56046) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1duSGl-0000h1-Bg for emacs-devel@gnu.org; Tue, 19 Sep 2017 19:49:35 -0400 Original-Received: by mail-it0-x22d.google.com with SMTP id 4so1292471itv.4 for ; Tue, 19 Sep 2017 16:49:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version:content-transfer-encoding; bh=wMhBf037UNl+cUkNZTrHB05hP8Zw5ZE9qRaOGlcn2/8=; b=jpN8Ioms1lmf1KPVT8oYj92zXZQvzXJDk4wCB9qgmjyukDhuTkgYwhw3wXVRCzIavy Jjp8K7JV/Gk31pYjT5Z44FK3gisYZa6zILqGCU8E4RF9vUXxKsYc3Mwsi2KvG/bU8x/z xG+sV3JtFdmME7Hz4iKZ6iLwNMfPoaCFlxhqp8MLx846GUWjeVCqzbv4qP/IpEKvXABP Jh/CudHDLjZZsyqjEmFVpG3IPk2iAsrPAKFevjMUjS/3lPl+dlrkUGzUSm59u6ZqmTyP ymWi1CUmAPzI/uiABsEcXMc9piAcwM3LNoNvf+NMjvpZUuc84GkFXorPJc0htL4gjSBk d2zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:mail-followup-to:mime-version :content-transfer-encoding; bh=wMhBf037UNl+cUkNZTrHB05hP8Zw5ZE9qRaOGlcn2/8=; b=jBkk8MJ7hDSqvTBULMNhJkZbNB17q5mt4NCnWsre9hifqzmN9szNSwCyhG5qIPY0TK buMtQxZ3IHU5C+gwLLKAUjPc2QHCKaqVx2Pvgysv7Vl/eR9vRRJ/peulJr8xzfVoTIc+ Iq31ZrWVtoE2Obnbtc9XxwuTNwUldbZ+LvVq1gigUfyEIzDm/2du/1MvtB6vAHLIy2f5 9Amz+z1A1LBTaW10QnMCTz6Ld6yv1DU6u6RpOnfU1PvryN2KY76FzGy0kPZSmonLoabf k5qwwMYAzSEILF+LfCs2ZGxJ3LZmKSQeMh4du290wY2/jp6Wvblga3iTEhEPGSgPtznj 0kmA== X-Gm-Message-State: AHPjjUjarYlKllAJSSeYp6VwgGXEFjrCCsBmxe08AnlKgvwh0tTsK4AL L1SP7DMjFtq+YOWcfPAfJdI= X-Google-Smtp-Source: AOwi7QB+9VWDbqARB9MP2S6Yncu1wLkXfG/MaHCHaFVQPWo+Bd/67igBQbe5T08Zy+2/fYEqezEchw== X-Received: by 10.36.125.75 with SMTP id b72mr480844itc.80.1505864974604; Tue, 19 Sep 2017 16:49:34 -0700 (PDT) Original-Received: from Hermes.local ([12.40.199.14]) by smtp.gmail.com with ESMTPSA id g100sm242587iod.39.2017.09.19.16.49.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Sep 2017 16:49:33 -0700 (PDT) X-Google-Original-From: "John Wiegley" Original-Received: by Hermes.local (Postfix, from userid 501) id 990072F29D5A; Tue, 19 Sep 2017 16:49:32 -0700 (PDT) In-Reply-To: <87zi9vn019.fsf@x230.lts> ("Etienne \=\?utf-8\?Q\?Prud\=E2\=80\=99ho\?\= \=\?utf-8\?Q\?mme\=22's\?\= message of "Fri, 15 Sep 2017 17:07:30 -0400") Mail-Followup-To: Etienne =?utf-8?Q?Prud=E2=80=99homme?= , emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c0b::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:218554 Archived-At: >>>>> "EP" =3D=3D Etienne Prud=E2=80=99homme wr= ites: PE> One of the widget (or type), I would like to get is major-mode and PE> probably minor-mode too. Is there any reason why it was never included? EP> Given we could know if a symbol is a major-mode, would it be okay if I PE> made a patch for that (to be included in `wid-edit.el`)? This sounds useful to me. I also briefly looked for a general way to say "symbols matching a predicat= e", for one-off types similar to the above request. Is that possible? --=20 John Wiegley GPG fingerprint =3D 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2