From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jai Dayal Newsgroups: gmane.emacs.help Subject: make buffer be c++ mode? Date: Sat, 23 May 2015 17:30:57 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1432416692 2372 80.91.229.3 (23 May 2015 21:31:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 May 2015 21:31:32 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 23 23:31:29 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YwH0y-0001X9-Uk for geh-help-gnu-emacs@m.gmane.org; Sat, 23 May 2015 23:31:29 +0200 Original-Received: from localhost ([::1]:38688 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwH0y-0003U3-0y for geh-help-gnu-emacs@m.gmane.org; Sat, 23 May 2015 17:31:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwH0p-0003Ty-Mp for help-gnu-emacs@gnu.org; Sat, 23 May 2015 17:31:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YwH0o-0003WF-Tw for help-gnu-emacs@gnu.org; Sat, 23 May 2015 17:31:19 -0400 Original-Received: from mail-oi0-x230.google.com ([2607:f8b0:4003:c06::230]:34859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwH0o-0003W9-QU for help-gnu-emacs@gnu.org; Sat, 23 May 2015 17:31:18 -0400 Original-Received: by oihd6 with SMTP id d6so36203510oih.2 for ; Sat, 23 May 2015 14:31:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=dTzjcglDtBCiEGnOZa20Cc4rwe56CcWqwYaB7OTTePw=; b=lTiV/HkJV3SQ0FH3A7s1Y6RH39HI4F0mGsgklU47OndUU4Cf/IugS+l2hFJicFeros mab/Atw9neZ/bQBsu+OsduPfydhYn8gXpKqv3x2eZf21FTrRkyRJDcdCD3GRJluzEU4U hT7bUG6X/kaI5xmKeVbA2rzhbEMfZPhtTIR2PkC91RYbSpfPA/1j7edpKaF6QR1mzrgJ HefO7ML5aj8diyZ2NAd9D4JgTc5WPd6mfpTZCPi8eIkOvA9Ug4Y8JqcBg7FqBjXwA9O8 yHVYMc2+WGp7oGIqh9rnpQLFJheP0xhmwpbPjsLWyWNQX+aQ8LeUSJ7uHQdVyljzWz5F WIeA== X-Received: by 10.202.179.9 with SMTP id c9mr4458273oif.24.1432416677951; Sat, 23 May 2015 14:31:17 -0700 (PDT) Original-Received: by 10.202.73.11 with HTTP; Sat, 23 May 2015 14:30:57 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::230 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104538 Archived-At: 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