emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] org-mode in c-mode c-comments


From: Konrad Eisele
Subject: [O] org-mode in c-mode c-comments
Date: Wed, 30 May 2012 23:41:42 +0200

I'd like to propose a followup of thread:
http://lists.gnu.org/archive/html/emacs-orgmode/2011-01/msg00036.html
which added a patch:
http://lists.gnu.org/archive/html/emacs-orgmode/2011-01/txtZOQlKOj4dh.txt

I think this feature is interesting.
Org-mode should be enabled by default as a submode inside
c-mode in c-comments via Orgstruct-mode. For that the indention break
"*#" proposed by the
above patch should be made more general and also include the end of
comment "*/"
as a break if in c-mode. Org-mode inside comment would be really
helpful. You could scrap
all the messy doxygen and headerdoc cryptics and implement API
documentation with org-mode (maybe some new features for API
definition can be added to org-mode). Anyone that uses c-mode often
will surely aggree (or not?). You can alredy now structure your
c-comments in c-mode really nicely when using the above patch and
orgstruct-mode. Give it a try.
-- Konrad



reply via email to

[Prev in Thread] Current Thread [Next in Thread]