From: Konrad Eisele <eiselekd@gmail.com>
To: Emacs-orgmode@gnu.org
Subject: org-mode in c-mode c-comments
Date: Wed, 30 May 2012 23:41:42 +0200 [thread overview]
Message-ID: <CAEjhO7+3vm2Cqx4Fqz-CZiKJy-QPyc0g+ofMc1qJg03jzmQKWQ@mail.gmail.com> (raw)
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 other threads:[~2012-05-30 21:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAEjhO7+3vm2Cqx4Fqz-CZiKJy-QPyc0g+ofMc1qJg03jzmQKWQ@mail.gmail.com \
--to=eiselekd@gmail.com \
--cc=Emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).