From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Rogoff Subject: multiple modes in single buffer? Date: Fri, 20 May 2011 15:20:46 -0700 Message-ID: <4DD6E93E.4060604@therogoffs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNY3u-0002Ie-68 for emacs-orgmode@gnu.org; Fri, 20 May 2011 18:20:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QNY3t-0000n5-8o for emacs-orgmode@gnu.org; Fri, 20 May 2011 18:20:50 -0400 Received: from omr11.networksolutionsemail.com ([205.178.146.61]:52743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNY3t-0000mZ-6B for emacs-orgmode@gnu.org; Fri, 20 May 2011 18:20:49 -0400 Received: from cm-omr14 (mail.networksolutionsemail.com [205.178.146.50]) by omr11.networksolutionsemail.com (8.13.6/8.13.6) with ESMTP id p4KMKmgv025021 for ; Fri, 20 May 2011 18:20:48 -0400 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 have a feeling I know the answer, but it's worth bringing up. I'd like to have multiple modes for different regions of a file. I'm using the "-*- mode: org -*-" as the first line of my org files. However, many of my org files contains bits of c and Verilog code. I'd like these regions to be formatted and use the faces for those modes. Is this possible? Thanks, David