[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to disable multi-line string literal in c-mode and c++-mode?
From: |
Anselm Helbig |
Subject: |
Re: How to disable multi-line string literal in c-mode and c++-mode? |
Date: |
Wed, 19 Aug 2009 10:49:32 +0200 |
Hi!
> How can I disable multi-line string literals in c-mode and c++-mode,
> and treat the end of line as the end of string literal?
>
> I am programming using noweb, where LaTeX and C++ sources are mixed
> together. When editing the code part, the buffer uses c++-mode, but
> any single quote in the text is treated as start or end of string
> literal, so many of my code chunks are rendered as string literals. I
> would like to disable this multi-line string literals in c++-mode.
You could try one of the packages mentioned on this page:
http://www.emacswiki.org/emacs/MultipleModes
Good luck!
Anselm
--
Anselm Helbig
mailto:anselm.helbig+news2009@googlemail.com