From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jonathan Seng Newsgroups: gmane.emacs.help Subject: Changing Languages in a file Date: Tue, 8 Sep 2009 15:01:58 -0500 Message-ID: <37c037ca0909081301n48e4d1c6s71a1f8c92cdc1202@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001485f778c4606b8a04731670bb X-Trace: ger.gmane.org 1252454988 13552 80.91.229.12 (9 Sep 2009 00:09:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Sep 2009 00:09:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 09 02:09:41 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MlAkn-0004ci-B7 for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Sep 2009 02:09:41 +0200 Original-Received: from localhost ([127.0.0.1]:36924 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlAkm-0007Ex-Mg for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Sep 2009 20:09:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ml6t9-0004k8-HI for help-gnu-emacs@gnu.org; Tue, 08 Sep 2009 16:02:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ml6t7-0004jY-Mf for help-gnu-emacs@gnu.org; Tue, 08 Sep 2009 16:02:01 -0400 Original-Received: from [199.232.76.173] (port=39245 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ml6t7-0004jS-FP for help-gnu-emacs@gnu.org; Tue, 08 Sep 2009 16:02:01 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.159]:55789) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ml6t6-00067A-U8 for help-gnu-emacs@gnu.org; Tue, 08 Sep 2009 16:02:01 -0400 Original-Received: by fg-out-1718.google.com with SMTP id 22so1819683fge.12 for ; Tue, 08 Sep 2009 13:01:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=S/g3n5szGHNT2l2zp2cMkXmLRARL0+dvYgMJXxVSScE=; b=xc/CIZjqD9hlRW/qfNgx6Q+MLHMruAAl5g3T3VKkTuvbQpi/QjWff0Cbwbf0lHDO4i mu34sSSp//MI8N7OPDp5wcaTefHMm0g6BCyoGkYWIKUeli0Aa5zU6f3uNndwc4qVM3hF XUuwY/xkVabTF/jjUVeMQVOiO2HoxcSi9pEng= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=jh5rQQ7xHqChJtSJlwyM/MuEyZZ76Ukuud8pFIB7TiYRlXWff/M9HmNQI7B2AaQGvR JBpXfe3EJG4UWcBGUlzrFmfKJWUovJaYCjk84lhf3pqn/ESQpHD1u2n4Q8D/xW3UH/e/ uBq/2L42pcaIZAMU9c14pJy9hw/pvLZ2FwpiY= Original-Received: by 10.239.182.137 with SMTP id q9mr1474529hbg.72.1252440118684; Tue, 08 Sep 2009 13:01:58 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Tue, 08 Sep 2009 20:01:27 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67972 Archived-At: --001485f778c4606b8a04731670bb Content-Type: text/plain; charset=ISO-8859-1 I need to change languages within a file used for generating code in another language. For example, I might have a Python script generating C or C++ code. The documentation tells me I can specify at the top of the file for the entire file, but I can't find a way to change this for sections of a file. Is there a way to do this? Thank you, Jonathan --001485f778c4606b8a04731670bb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I need to change languages within a file used for generating code in anothe= r language.=A0 For example, I might have a Python script generating C or C+= + code.

The documentation tells me I can specify at the top of the f= ile for the entire file, but I can't find a way to change this for sect= ions of a file.

Is there a way to do this?

Thank you,

Jonathan
--001485f778c4606b8a04731670bb--