all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Settings in c-offsets-alist ignored ?
@ 2007-06-05 12:13 Markus Grunwald
  2007-06-06 11:24 ` Markus Grunwald
  2007-06-06 13:04 ` Alexey Pustyntsev
  0 siblings, 2 replies; 3+ messages in thread
From: Markus Grunwald @ 2007-06-05 12:13 UTC (permalink / raw)
  To: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Settings in c-offsets-alist ignored ?
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Markus Grunwald @ 2007-06-06 11:24 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

> 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.

Hmm, seems noone can help me ... This means noone knows about this problem
or I didn't make it clear. What information could be missing ? Please tell
me what data I could supply...

Thanks,
Markus

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Settings in c-offsets-alist ignored ?
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Alexey Pustyntsev @ 2007-06-06 13:04 UTC (permalink / raw)
  To: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-06 13:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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.