all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: help-gnu-emacs@gnu.org
Subject: Re: Ways to use Emacs when programming C++ with Visual Studio?
Date: Tue, 02 Dec 2014 21:54:43 +0100	[thread overview]
Message-ID: <87egshwz58.fsf@wanadoo.es> (raw)
In-Reply-To: 87d281g4jp.fsf@robertthorpeconsulting.com

Robert Thorpe <rt@robertthorpeconsulting.com> writes:

[snip]

> Something to watch out for here is that Emacs believes that .h files are
> C files not C++.  Microsoft don't use the .hpp file extension.  If you
> use VS a lot it's best to make .h files automatically choose C++ mode.
>
> I don't have any code for this unfortunately, I deleted it from my
> .emacs years ago when I stopped using VS.

(add-to-list 'auto-mode-alist '("\\.h\\'" . c++-mode))





  reply	other threads:[~2014-12-02 20:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.11982.1414182986.1147.help-gnu-emacs@gnu.org>
2014-11-07  1:09 ` Ways to use Emacs when programming C++ with Visual Studio? Emanuel Berg
2014-11-07 10:21   ` Thorsten Jolitz
     [not found]   ` <mailman.13103.1415355713.1147.help-gnu-emacs@gnu.org>
2014-11-10  0:51     ` 3246251196ryan
2014-11-10 10:43       ` Thorsten Jolitz
     [not found]       ` <mailman.13369.1415616253.1147.help-gnu-emacs@gnu.org>
2014-11-11 14:28         ` 3246251196ryan
2014-11-24 23:00   ` Ken Goldman
     [not found]   ` <mailman.14499.1416870041.1147.help-gnu-emacs@gnu.org>
2014-11-25 23:40     ` Mike
2014-11-26 14:55       ` Ken Goldman
2014-12-02 20:50         ` Robert Thorpe
2014-12-02 20:54           ` Óscar Fuentes [this message]
     [not found]       ` <mailman.14674.1417013766.1147.help-gnu-emacs@gnu.org>
2014-11-26 21:54         ` mflynn
2014-10-24 20:35 Thorsten Jolitz
2014-10-26  2:47 ` Óscar Fuentes
2014-10-27  8:41   ` Thorsten Jolitz

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=87egshwz58.fsf@wanadoo.es \
    --to=ofv@wanadoo.es \
    --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.