all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: Setting editing mode in file?
       [not found] <bq3ti7$gr1$0@pita.alt.net>
@ 2003-11-27  6:37 ` Eli Zaretskii
  0 siblings, 0 replies; only message in thread
From: Eli Zaretskii @ 2003-11-27  6:37 UTC (permalink / raw)


> From: Ignoramus14044 <ignoramus14044@NOSPAM.14044.invalid>
> Newsgroups: gnu.emacs.help
> Date: 27 Nov 2003 04:11:51 GMT
> 
> A long time, I saw snippets like this (sort of)
> 
> // -+-*- C++ -*-+-
> 
> or some such thing. This would force the editing mode to be the C++
> mode. Any idea how I can actually do it?

Yes, you need to put

// -*- C++ -*-

At the beginning of the file (more accurately, on the first non-blank
line of the file).

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-11-27  6:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <bq3ti7$gr1$0@pita.alt.net>
2003-11-27  6:37 ` Setting editing mode in file? Eli Zaretskii

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.