Hi!
I'd like to derive a mode from org-mode.
I do something like this:
(define-derived-mode derived-org-mode org-mode "dorg" "derived org-mode"
(message "derived-org-mode activated")
)
When I activate the derived-org-mode, M-: (org-entry-properties) does no longer
work.
Using org-mode it
Hello again!
> Hi!
>
> I'd like to derive a mode from org-mode.
>
> I do something like this:
>
> (define-derived-mode derived-org-mode org-mode "dorg" "derived org-mode"
> (message "derived-org-mode activated")
> )
>
> When I activate the derived-org-mode, M-: (org-entry-properties) does no
2011-09-02 Stefan Reichoer
Add org-mode-or-derived-mode-p to support org-mode derived modes
* org-macs.el (org-mode-or-derived-mode-p): New defun
* org-src.el (org-edit-src-code): Use org-mode-or-derived-mode-p
* org.el (org-entry-properties): Use org-mode-or-deri
Tassilo Horn writes:
> Stefan Reichör writes:
>
>> +(defun org-mode-or-derived-mode-p ()
>> + "Check if the current buffer is in Org-mode or a derived mode."
>> + (if (derived-mode-p 'org-mode) t nil))
>
> The if is superfluous. And instead of
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? See
http://orgmode.org/manual/Feedback.html#Feedback
Your bug report will be posted to the Org-mode mailing list.
-
Hello Alan!
> Hello Stefan,
>
> ste...@xsteve.at writes:
>
>> I tried the recipe on this site:
>> http://orgmode.org/worg/exporters/koma-letter-export.html
>>
>> C-c C-e gives the following error message:
>> Debugger entered--Lisp error: (error "org-export-backend-menu accessing a
>> non-org-expo
Hello Alan!
> ste...@xsteve.at writes:
>
>> Yes, I get the error message after hitting C-c C-e.
>>
>> I installed org via M-x list-packages yesterday.
>
> Are you able to export an org file to a different format (like html)?
> I'm trying to see whether this is koma-specific.
No. In my installatio
Hello Alan!
> ste...@xsteve.at writes:
>
>> Hello Alan!
>>
>>> ste...@xsteve.at writes:
>>>
Yes, I get the error message after hitting C-c C-e.
I installed org via M-x list-packages yesterday.
>>>
>>> Are you able to export an org file to a different format (like html)?
>>> I'm tryi