all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
Subject: Re: Unusual C indentation conventions
Date: Tue, 29 Mar 2005 18:23:39 +0000	[thread overview]
Message-ID: <bf6c2d.36.ln@acm.acm> (raw)
In-Reply-To: Ij02e.3964$zl.2748@newssvr13.news.prodigy.com

no spam <peoria6384@yahoo.com> wrote on Mon, 28 Mar 2005 23:21:12 GMT:
> hi, I've spent a fair amount of time trying to get emacs to do
> something reasonably close to what's required in my installation, and I
> find that it usually doesn't and I can't figure out why.  I'll manually
> space the bracket { to be where I want it, and then as soon as I start
> typing, it'll re-indent it, .....

This is a recognized problem, and the next version of CC Mode (5.31) will
enable users to disable "electric indentation", though the precise
details of this haven't quite been finalized.

> .... and even the .emacs variables that I would have thought would just
> turn off ALL syntax-directed indentation don't seem to do it.

(setq c-syntactic-indentation nil) should do it.  Have you tried that?

> All complaining aside, though:  ....

Please do complain!  If nobody complained about the things which annoy
them, nothing would get fixed.  ;-)

[ .... ]

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

      parent reply	other threads:[~2005-03-29 18:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-28 23:21 Unusual C indentation conventions no spam
2005-03-29 12:57 ` Greg Rowe
2005-03-29 15:48 ` Peter Lee
2005-03-29 18:23 ` Alan Mackenzie [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=bf6c2d.36.ln@acm.acm \
    --to=acm@muc.de \
    /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.