From: robert.thorpe@antenova.com
Subject: Re: c-set-style question
Date: 13 Sep 2006 10:04:03 -0700 [thread overview]
Message-ID: <1158167043.460430.140600@b28g2000cwb.googlegroups.com> (raw)
In-Reply-To: <ee96lh$5t9$1@news.yaako.com>
jronald wrote:
> Which variable does this function change? Is there?
>
> There is another a variable called c-default-style, which isn't changed by
> the function.What is the effect of it.
It's in the docs type C-h v c-default-style
c-default-style is an alist determining the style to be used by all
C-like languages. It is used before mode-specific hooks are run. Then
once in CC mode c-set-style can be used to change the mode on the fly.
So, c-default-style is most useful for writing you .emacs files,
c-set-style is most useful to change the style during editing. You
could use c-set-style to change the style in a hook if you liked though.
next prev parent reply other threads:[~2006-09-13 17:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-13 15:04 c-set-style question jronald
2006-09-13 16:47 ` David Hansen
2006-09-13 17:04 ` robert.thorpe [this message]
2006-09-13 20:31 ` what confuse me is jronald
2006-09-14 15:21 ` robert.thorpe
2006-09-14 18:31 ` Helpful, thans jronald
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=1158167043.460430.140600@b28g2000cwb.googlegroups.com \
--to=robert.thorpe@antenova.com \
/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).