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 09:17:26 +0100 Message-ID: <871tq36tpl.fsf@ferrier.me.uk> References: <87bnp9eir3.fsf@ferrier.me.uk> <2128728.y75FreRA9t@descartes> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1413793073 21629 80.91.229.3 (20 Oct 2014 08:17:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2014 08:17:53 +0000 (UTC) Cc: =?us-ascii?Q?=3D=3Fwindows-1252=3FQ=3FR=3DFCdiger=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 10:17:46 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 1Xg89x-0007Iu-Ma for ged-emacs-devel@m.gmane.org; Mon, 20 Oct 2014 10:17:45 +0200 Original-Received: from localhost ([::1]:42976 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xg89x-0004BO-8w for ged-emacs-devel@m.gmane.org; Mon, 20 Oct 2014 04:17:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xg89o-0004BF-7M for emacs-devel@gnu.org; Mon, 20 Oct 2014 04:17:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xg89i-0007o3-CP for emacs-devel@gnu.org; Mon, 20 Oct 2014 04:17:36 -0400 Original-Received: from static.17.66.46.78.clients.your-server.de ([78.46.66.17]:43822 helo=po1.ferrier.me.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xg89i-0007iZ-6J for emacs-devel@gnu.org; Mon, 20 Oct 2014 04:17:30 -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 0A067AC06E2; Mon, 20 Oct 2014 10:34:26 +0200 (CEST) Original-Received: from nicferrier-XPS13-9333 (localhost [127.0.0.1]) by nicferrier-dell-xps (Postfix) with ESMTPS id 2975C6023A; Mon, 20 Oct 2014 09:17:26 +0100 (BST) In-Reply-To: (Stefan Monnier's message of "Sun, 19 Oct 2014 22:15:57 -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:175578 Archived-At: Stefan Monnier writes: >> I've started working on a patch to add `:options' flags to mode hooks, such as >> `imenu-add-menubar-index' for modes supporting imenu or `eldoc-mode' for modes >> supporting eldoc. > > FWIW, eldoc is now (in trunk) automatically enabled in any major mode > that supports it. > > It should be fairly easy to add an imenu (sub)menu globally as well. If I sent patches (once we're on git, how goes that?) for customize any hooks that aren't already customizable, they would get accepted? Nic