From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anders Waldenborg Subject: Re: Deriving mode from org-mode Date: Tue, 22 Feb 2011 10:17:06 +0100 Message-ID: <4D637F12.3050906@0x63.nu> References: <4D584BE5.2050401@0x63.nu> <877hd2q6mx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=45918 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ProNK-0005kI-3L for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 04:17:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ProNI-0003rZ-Oz for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 04:17:41 -0500 Received: from mta.proceranetworks.com ([194.153.91.40]:53808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ProNI-0003r4-J7 for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 04:17:40 -0500 In-Reply-To: <877hd2q6mx.fsf@gnu.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org On 02/15/2011 05:11 AM, Bastien wrote: > (org-mode-p) does the advertized job: checking whether we are in > org-mode major mode. It would be confusing to also check against > org derived modes, at least with that function's name. Agreed. Just hope it isn't used like that in other places. [] > Fixed, I corrected this directly in `org-edit-src-code', allow source > code to be edited from org-mode derived modes. Thanks! > Can you share what kind of derived mode you're writing? What for? It is a "personal wiki" mode. It automatically narrows to current top level heading, adds some extra navigation functions and allows creating links to new "pages" (= top level heading) in a simple way. Hopefully I can clean it up a little bit soon and publish it. anders