emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcelo de Moraes Serpa <celoserpa@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Orgmode + other modes for outlining and studying.
Date: Thu, 7 Jan 2010 17:21:17 -0600	[thread overview]
Message-ID: <1e5bcefd1001071521k17705476p27809506dfb36fea@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 740 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 803 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

             reply	other threads:[~2010-01-07 23:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-07 23:21 Marcelo de Moraes Serpa [this message]
2010-01-08  0:07 ` Orgmode + other modes for outlining and studying Manish
2010-01-08  0:21 ` Eric Schulte
2010-01-08  0:27   ` Greg Newman
2010-01-08  3:25     ` [Orgmode] " Eric Schulte
2010-01-08  8:49 ` Sébastien Vauban
2010-01-08 16:05   ` Thomas S. Dye
2010-01-09 20:38     ` Sébastien Vauban
2010-01-09 21:22       ` Eric Schulte
2010-01-09 22:52         ` Thomas S. Dye
2010-01-10 15:46           ` Eric Schulte

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=1e5bcefd1001071521k17705476p27809506dfb36fea@mail.gmail.com \
    --to=celoserpa@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).