From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manish Subject: Re: Orgmode + other modes for outlining and studying. Date: Fri, 8 Jan 2010 05:37:50 +0530 Message-ID: References: <1e5bcefd1001071521k17705476p27809506dfb36fea@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NT2Om-0007SP-C5 for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 19:08:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NT2Oh-0007Po-Or for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 19:08:15 -0500 Received: from [199.232.76.173] (port=38011 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NT2Oh-0007Ph-It for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 19:08:11 -0500 Received: from mail-iw0-f188.google.com ([209.85.223.188]:36599) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NT2Oh-0002cd-7v for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 19:08:11 -0500 Received: by iwn26 with SMTP id 26so12161279iwn.14 for ; Thu, 07 Jan 2010 16:08:10 -0800 (PST) In-Reply-To: <1e5bcefd1001071521k17705476p27809506dfb36fea@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Marcelo de Moraes Serpa Cc: Org Mode On Fri, Jan 8, 2010 at 4:51 AM, Marcelo de Moraes Serpa wrote: > Hello guys, > > Orgmode files are great for studying, for example, code. > > Everytime I need to study some unknown code, I create a new org file, put a > * code headline, paste the code in there and start making notes below or in > the code (as comments). it is extremelly fast and efficient to do something > like that, things just flow. > > what i'd like to know is if there's a way to have, for example, orgmode + > javascript-mode, so that i can get syntax-highlighting/coloring on the > pasted javascript code. i've tried with javascript mode, but since it is a > major mode, it just kills org and all its goodies, and i don't want that. > > is there a way to have two major modes at the same time, such as org + > js-mode? have you seen this http://www.emacswiki.org/emacs/mumamo ? hth -- manish