From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nic Ferrier Newsgroups: gmane.emacs.devel Subject: Re: why do some programming modes have customize hooks and others do not? Date: Mon, 20 Oct 2014 20:11:49 +0100 Message-ID: <87k33u5zey.fsf@ferrier.me.uk> References: <87bnp9eir3.fsf@ferrier.me.uk> <2128728.y75FreRA9t@descartes> <871tq36tpl.fsf@ferrier.me.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1413832339 31349 80.91.229.3 (20 Oct 2014 19:12:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2014 19:12:19 +0000 (UTC) Cc: =?us-ascii?Q?=3D=3Fus-ascii=3FQ=3F=3D3D=3D3Fwindows-1252=3D3FQ=3D3FR?= =?us-ascii?Q?=3D3DFCdiger=3D3F=3D3D=3F=3D?= Sonderfeld , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 20 21:12:11 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XgIND-00036C-Cr for ged-emacs-devel@m.gmane.org; Mon, 20 Oct 2014 21:12:07 +0200 Original-Received: from localhost ([::1]:46424 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgINC-0003Zj-UI for ged-emacs-devel@m.gmane.org; Mon, 20 Oct 2014 15:12:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgIN4-0003ZK-5n for emacs-devel@gnu.org; Mon, 20 Oct 2014 15:12:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgIMy-00021Q-8q for emacs-devel@gnu.org; Mon, 20 Oct 2014 15:11:58 -0400 Original-Received: from static.17.66.46.78.clients.your-server.de ([78.46.66.17]:44106 helo=po1.ferrier.me.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgIMy-00020w-2Z for emacs-devel@gnu.org; Mon, 20 Oct 2014 15:11:52 -0400 Original-Received: from nicferrier-dell-xps (140.35.155.90.in-addr.arpa [90.155.35.140]) by po1.ferrier.me.uk (Postfix) with ESMTPA id 8D034AC06E2; Mon, 20 Oct 2014 21:28:51 +0200 (CEST) Original-Received: from nicferrier-XPS13-9333 (localhost [127.0.0.1]) by nicferrier-dell-xps (Postfix) with ESMTPS id 849426023A; Mon, 20 Oct 2014 20:11:49 +0100 (BST) In-Reply-To: (Stefan Monnier's message of "Mon, 20 Oct 2014 12:02:35 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 78.46.66.17 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:175607 Archived-At: Stefan Monnier writes: >> If I sent patches (once we're on git, how goes that?) > > Same as for Bzr, yes. Not the same as for bzr, no. I don't have bzr and don't intend to install it. I'm happy to contribute on git though. > Depends on the specifics. E.g. just changing the defcustom with a ":type > 'hook" would probably not be accepted because the downside (pointed out > by Artur) isn't made up by significant extra convenience. > But if the change includes some genuinely useful extra info (e.g. good > suggestions for functions to add to this particular hook), it might make > it acceptable. I think Artur had a good idea which I'd be happy to implement. Then it would be worth switching hook variables to customize. Nic