From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.help Subject: Re: Need help with minor-mode-map/menu-map Date: Thu, 28 Mar 2013 18:54:27 +0100 Message-ID: <871uazwgto.fsf@gmail.com> References: <87a9png7gt.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1364493296 3621 80.91.229.3 (28 Mar 2013 17:54:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Mar 2013 17:54:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 28 18:55:21 2013 Return-path: Envelope-to: geh-help-gnu-emacs@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 1ULH2m-00087d-Bk for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Mar 2013 18:55:20 +0100 Original-Received: from localhost ([::1]:51099 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULH2O-00084Z-70 for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Mar 2013 13:54:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULH2B-0007zO-Qv for help-gnu-emacs@gnu.org; Thu, 28 Mar 2013 13:54:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULH2A-0000Wg-1W for help-gnu-emacs@gnu.org; Thu, 28 Mar 2013 13:54:43 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:35717) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULH29-0000V9-Qq for help-gnu-emacs@gnu.org; Thu, 28 Mar 2013 13:54:41 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ULH2U-0007FS-Pc for help-gnu-emacs@gnu.org; Thu, 28 Mar 2013 18:55:02 +0100 Original-Received: from e178119017.adsl.alicedsl.de ([85.178.119.17]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Mar 2013 18:55:02 +0100 Original-Received: from tjolitz by e178119017.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Mar 2013 18:55:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178119017.adsl.alicedsl.de User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:ZUynR2I6+Y/C0bgE7o4gKAaoH1c= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89788 Archived-At: Stefan Monnier writes: > And here, I'd recommend the same rewrite, plus the actual fix which is > to be careful with the name: it should be outorg-edit-mode-map > (i.e. the minor mode's name plus "-map"). thanks, I applied all that, and additionally figured out that the other mode I copied form defined a derived minor-mode, while mine wasn't derived, so I had to do a lot of other stuff too (minor-mode conventions) that define-derived-mode did implicitly in the other mode. now it works. -- cheers, Thorsten