all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jai Dayal <dayalsoap@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: make buffer be c++ mode?
Date: Sat, 23 May 2015 17:30:57 -0400	[thread overview]
Message-ID: <CAMJ-YiSzJjOBwUfWvCrexzihW5zV8qJyKzKPyi4Ss8u1PR1dGg@mail.gmail.com> (raw)

Hi,

I have a file that I've opened with a .cu extension. It's C++ code written
for Cuda. How do I force Emacs to display the buffer as if it were C mode?
I just want to do it just for this buffer.

Thanks


             reply	other threads:[~2015-05-23 21:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-23 21:30 Jai Dayal [this message]
2015-05-23 22:14 ` make buffer be c++ mode? John Mastro
2015-05-24  1:20 ` Dale Snell
     [not found] <mailman.3550.1432416681.904.help-gnu-emacs@gnu.org>
2015-05-23 23:27 ` Emanuel Berg
2015-05-24  8:49   ` tomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMJ-YiSzJjOBwUfWvCrexzihW5zV8qJyKzKPyi4Ss8u1PR1dGg@mail.gmail.com \
    --to=dayalsoap@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.