From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Eisele Subject: org-mode in c-mode c-comments Date: Wed, 30 May 2012 23:41:42 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZqeL-000166-NS for Emacs-orgmode@gnu.org; Wed, 30 May 2012 17:41:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZqeJ-0002pA-Sl for Emacs-orgmode@gnu.org; Wed, 30 May 2012 17:41:49 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:48930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZqeJ-0002n7-Jx for Emacs-orgmode@gnu.org; Wed, 30 May 2012 17:41:47 -0400 Received: by dakp5 with SMTP id p5so361853dak.0 for ; Wed, 30 May 2012 14:41:42 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs-orgmode@gnu.org 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