From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Orgmode + other modes for outlining and studying. Date: Thu, 7 Jan 2010 17:21:17 -0600 Message-ID: <1e5bcefd1001071521k17705476p27809506dfb36fea@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1913690602==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NT1fQ-0008Iq-CC for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 18:21:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NT1fL-0008Hn-V6 for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 18:21:24 -0500 Received: from [199.232.76.173] (port=57208 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NT1fL-0008Hg-Ny for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 18:21:19 -0500 Received: from mail-pw0-f47.google.com ([209.85.160.47]:57104) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NT1fL-0004Wl-DW for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 18:21:19 -0500 Received: by pwj10 with SMTP id 10so5901428pwj.26 for ; Thu, 07 Jan 2010 15:21:17 -0800 (PST) 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: Org Mode --===============1913690602== Content-Type: multipart/alternative; boundary=0016e64ccddefce133047c9b530c --0016e64ccddefce133047c9b530c Content-Type: text/plain; charset=ISO-8859-1 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? Thanks in advance, Marcelo Serpa. --0016e64ccddefce133047c9b530c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello guys,

Orgmode files are great for studying, for example, code.=

Everytime I need to study some unknown code, I create a new org fil= e, put a * Code headline, paste the code in there and start making notes be= low 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 sin= ce 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?

Thanks in advance,

Marcelo Serpa.
--0016e64ccddefce133047c9b530c-- --===============1913690602== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1913690602==--