all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to disable multi-line string literal in c-mode and c++-mode?
@ 2009-08-18 15:21 wewwew
  2009-08-18 19:35 ` Alan Mackenzie
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: wewwew @ 2009-08-18 15:21 UTC (permalink / raw
  To: help-gnu-emacs

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.

Appreciate any help.

-Wenguang


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-19  8:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-18 15:21 How to disable multi-line string literal in c-mode and c++-mode? wewwew
2009-08-18 19:35 ` Alan Mackenzie
     [not found] ` <mailman.4853.1250623941.2239.help-gnu-emacs@gnu.org>
2009-08-18 20:40   ` wewwew
2009-08-18 21:35     ` Peter Milliken
2009-08-19  8:49 ` Anselm Helbig

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.