From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Deriving mode from org-mode Date: Tue, 22 Feb 2011 10:21:08 +0100 Message-ID: <02C722F0-7A82-4CCE-B836-DC3EFAEC28AE@gmail.com> References: <4D584BE5.2050401@0x63.nu> <877hd2q6mx.fsf@gnu.org> <4D637F12.3050906@0x63.nu> Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=46965 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ProQw-0007cV-9A for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 04:21:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ProQi-0004Tm-4g for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 04:21:13 -0500 Received: from mail-wy0-f169.google.com ([74.125.82.169]:45244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ProQh-0004Tb-Uv for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 04:21:12 -0500 Received: by wyi11 with SMTP id 11so1907411wyi.0 for ; Tue, 22 Feb 2011 01:21:11 -0800 (PST) In-Reply-To: <4D637F12.3050906@0x63.nu> 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: Anders Waldenborg Cc: emacs-orgmode@gnu.org, Bastien On Feb 22, 2011, at 10:17 AM, Anders Waldenborg wrote: > 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. >=20 > Agreed. Just hope it isn't used like that in other places. >=20 > [] >=20 >> Fixed, I corrected this directly in `org-edit-src-code', allow source >> code to be edited from org-mode derived modes. >=20 > Thanks! >=20 >> Can you share what kind of derived mode you're writing? What for? >=20 > 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" (=3D top level heading) in a simple way. Hopefully = I can clean it up a little bit soon and publish it. You might also want to take a look at org-wikinodes.el in the contrib directory. - Carsten