emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-mode in c-mode c-comments
@ 2012-05-30 21:41 Konrad Eisele
  0 siblings, 0 replies; only message in thread
From: Konrad Eisele @ 2012-05-30 21:41 UTC (permalink / raw)
  To: Emacs-orgmode

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-30 21:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-30 21:41 org-mode in c-mode c-comments Konrad Eisele

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).