unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Umar Said <umarsaid@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: tidy up code
Date: Fri, 21 Dec 2007 13:30:30 +0100 (CET)	[thread overview]
Message-ID: <fkgbl4$fgq$1@aioe.org> (raw)
In-Reply-To: 1a7b6c7f-f885-4c70-bf05-4e4c87099c47@b1g2000pra.googlegroups.com

On Fri, 21 Dec 2007 04:07:05 -0800, nullius.filius wrote:
> X-no-archive: Yes
> 
> 
> You have to give a hint to emacs that you want to format a c++ file.
> You do that by naming the file before you try and format it.
> 
> Go to the file menu and click on the menu item 'Visit new File' go to
> the directory you want to save your file, and type in your file name
> (test.cpp) and click the open button.
> 
> Now paste your code into emacs.
> 
> Once emacs has a hint on what type of file it is formatting, then
> it can format it.

Thank you nullius. It solves the problem.

  reply	other threads:[~2007-12-21 12:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-21  9:04 tidy up code Umar
2007-12-21  9:29 ` Jason Rumney
2007-12-21 10:23   ` Umar
2007-12-21 10:41     ` Torben Knudsen
2007-12-21 11:00       ` Umar Said
2007-12-21 11:18     ` Martin Bealby
2007-12-21 11:23       ` Umar Said
2007-12-21 12:07         ` nullius.filius
2007-12-21 12:30           ` Umar Said [this message]
2007-12-23  6:01             ` Gabriel Parrondo
     [not found]             ` <mailman.5343.1198389653.18990.help-gnu-emacs@gnu.org>
2007-12-26  3:02               ` Umar Said

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='fkgbl4$fgq$1@aioe.org' \
    --to=umarsaid@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).