all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Doug Lewan <dougl@shubertticketing.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Using current style in C?
Date: Mon, 4 Mar 2013 15:04:19 +0000	[thread overview]
Message-ID: <155DEC68569B714B86C2C7075F5EDA9828E8F727@DAKIYA1.pegasus.local> (raw)

Once upon a time, I'll swear I read somewhere about being able to configure C-mode to "use the current style", but now I can't find it. I'd like to use such a feature.

That is, upon finding a file, I'd like emacs to examine it and use its indentation style while editing it. 

Does such a feature really exist? (I have been known to make stuff up.) A quick scan of the emacs Wiki didn't reveal anything to me.

Thanks.

,Douglas
Douglas Lewan
Shubert Ticketing
(201) 489-8600 ext 224

When I do good, I feel good. When I do bad, I feel bad and that's my religion. - Abraham Lincoln




             reply	other threads:[~2013-03-04 15:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-04 15:04 Doug Lewan [this message]
2013-03-04 18:59 ` Using current style in C? Stefan Monnier
2013-03-04 21:38   ` Doug Lewan
2013-03-04 22:14   ` "Jérôme M. Berger"
2013-03-05 12:39   ` Doug Lewan

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=155DEC68569B714B86C2C7075F5EDA9828E8F727@DAKIYA1.pegasus.local \
    --to=dougl@shubertticketing.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.