From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#8660: 23.2; info-look.el makefile-mode derivatives Date: Thu, 12 May 2011 00:11:13 -0300 Message-ID: References: <87zkmskbtr.fsf@blah.blah> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1305169932 2392 80.91.229.12 (12 May 2011 03:12:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 May 2011 03:12:12 +0000 (UTC) Cc: 8660@debbugs.gnu.org To: Kevin Ryde Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 12 05:12:08 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QKMJr-0000Z4-Nv for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 May 2011 05:12:07 +0200 Original-Received: from localhost ([::1]:44896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKMJq-0002mV-SS for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 May 2011 23:12:06 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKMJn-0002mI-Sa for bug-gnu-emacs@gnu.org; Wed, 11 May 2011 23:12:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QKMJm-0003T3-T9 for bug-gnu-emacs@gnu.org; Wed, 11 May 2011 23:12:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKMJm-0003Sz-QF for bug-gnu-emacs@gnu.org; Wed, 11 May 2011 23:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QKMJm-0003Ur-C8; Wed, 11 May 2011 23:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 May 2011 03:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8660 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 8660-submit@debbugs.gnu.org id=B8660.130516988413391 (code B ref 8660); Thu, 12 May 2011 03:12:02 +0000 Original-Received: (at 8660) by debbugs.gnu.org; 12 May 2011 03:11:24 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QKMJA-0003Tw-4V for submit@debbugs.gnu.org; Wed, 11 May 2011 23:11:24 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QKMJ8-0003Ti-Pt for 8660@debbugs.gnu.org; Wed, 11 May 2011 23:11:23 -0400 Original-Received: from 121-249-126-200.fibertel.com.ar ([200.126.249.121]:17647 helo=ceviche.home) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QKMJ1-0002x6-Tq; Wed, 11 May 2011 23:11:16 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 7D22066152; Thu, 12 May 2011 00:11:13 -0300 (ART) In-Reply-To: <87zkmskbtr.fsf@blah.blah> (Kevin Ryde's message of "Thu, 12 May 2011 10:21:52 +1000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 11 May 2011 23:12:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:46410 Archived-At: > C-h S in the various makefile-mode derivatives such as > makefile-gmake-mode for GNUmakefile prompts for > Use symbol help mode: > where I hoped it would already know what to do. [...] > +;; makefile-mode derivatives going to plain makefile-mode. > +(let ((regexp (info-lookup->regexp 'symbol 'makefile-mode)) > + (parse-rule (info-lookup->parse-rule 'symbol 'makefile-mode))) > + (dolist (mode '(makefile-bsdmake-mode > + makefile-gmake-mode > + makefile-imake-mode > + makefile-makepp-mode)) > + (info-lookup-maybe-add-help > + :topic 'symbol > + :mode mode > + :regexp regexp > + :parse-rule parse-rule > + :other-modes '(makefile-mode)))) I think you want to set info-lookup-mode in those major modes instead. Stefan