all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: nospam@dev.null (Alexey Pustyntsev)
To: help-gnu-emacs@gnu.org
Subject: Re: Settings in c-offsets-alist ignored ?
Date: Thu, 07 Jun 2007 00:04:47 +1100	[thread overview]
Message-ID: <E1HvvBv-0006Rv-GV@sycore.org> (raw)
In-Reply-To: <46655381$0$10200$9b4e6d93@newsspool4.arcor-online.net> (Markus Grunwald's message of "05 Jun 2007 12\:13\:53 GMT")

Markus Grunwald <markus.grunwald@gmx.de> writes:

> Hello,
>
> I'm using xemacs for years and now I got curious about gnu emacs. I've
> already "ported" most of my usual settings, but the cc-mode indentation
> doesn't work.
>
> When editing C++ files (I suspect in cc-mode, the modeline shows "C++" )
> the indentation is not as I like it. So I change c-offsets-alist via the
> customisation menu but nothing happens. Is there any special setting that
> enables custom offsets or what am I missing ? 
>
> I'm using emacs 21.4a+1-3 from debian stable.
>
> Thanks for any help ! If this works good, I might convert ;)
>
> cu
> Markus
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>

Hi!

What kind of indentation you wish to set? Could you be more specific
about it? I may be wrong but I think you should try different C
styles first. Go to a customization buffer for C-like languages (M-x
customize-group, then enter "C") and play with "C Default Style".
For instance, I have set "java" for "Java" and "stroustrup" for
"other".
Anyway, a concrete example of your code would be helpful to us. 

-- 
Rgds
Alexey

      parent reply	other threads:[~2007-06-06 13:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-05 12:13 Settings in c-offsets-alist ignored ? Markus Grunwald
2007-06-06 11:24 ` Markus Grunwald
2007-06-06 13:04 ` Alexey Pustyntsev [this message]

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=E1HvvBv-0006Rv-GV@sycore.org \
    --to=nospam@dev.null \
    --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.