Re: [O] [Orgmode] Deriving mode from org-mode

2011-07-17 Thread Anders Waldenborg
On Tue, Feb 22, 2011 at 12:52:03PM +0100, Bastien wrote: 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

Re: [Orgmode] Deriving mode from org-mode

2011-02-22 Thread Anders Waldenborg
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. []

Re: [Orgmode] Deriving mode from org-mode

2011-02-22 Thread Carsten Dominik
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. Agreed.

Re: [Orgmode] Deriving mode from org-mode

2011-02-22 Thread Carsten Dominik
On Feb 22, 2011, at 10:21 AM, Carsten Dominik wrote: 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

Re: [Orgmode] Deriving mode from org-mode

2011-02-22 Thread Bastien
Hi Anders, Anders Waldenborg and...@0x63.nu writes: 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

Re: [Orgmode] Deriving mode from org-mode

2011-02-22 Thread Anders Waldenborg
On 02/22/2011 10:34 AM, Carsten Dominik wrote: Sorry for following up on my own mail. I want to add a pointer to the documentation for org-wikinodes.el: http://orgmode.org/worg/org-contrib/org-wikinodes.html Thanks. I've already seen that - I'm not very interesed in camelcase links.

[Orgmode] Deriving mode from org-mode

2011-02-14 Thread Anders Waldenborg
Hi, isn't creating a new major mode derived from org-mode supported? I guess that part of the problem is that org-mode-p doesn't use derived-mode-p. For example: (define-derived-mode org-derived-mode org-mode Org-Derived) and then create a new buffer using org-derived-mode and enter a

Re: [Orgmode] Deriving mode from org-mode

2011-02-14 Thread Bastien
Hi Anders, Anders Waldenborg and...@0x63.nu writes: isn't creating a new major mode derived from org-mode supported? Yes it is... I guess that part of the problem is that org-mode-p doesn't use derived-mode-p. (org-mode-p) does the advertized job: checking whether we are in org-mode major