From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Will Parsons Newsgroups: gmane.emacs.help Subject: Re: C-mode-style whitesmith with emacs 21/22 Date: 24 Feb 2008 22:15:41 GMT Message-ID: References: <47b52516$0$24080$9b622d9e@news.freenet.de> Reply-To: ellenophilos@yahoo.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1203990254 11876 80.91.229.12 (26 Feb 2008 01:44:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Feb 2008 01:44:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 26 02:44:40 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JTorw-0002xM-0R for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Feb 2008 02:44:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTorQ-0003OQ-99 for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Feb 2008 20:44:00 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-X-Trace: individual.net F5cxCbJD0SKCyKUHB4tCTw3Ylq5ZF3CZxF3jl+Z0frhvtqU+SD Cancel-Lock: sha1:PPqn2jQsT/8hV72pqDNXnB1Oq+g= User-Agent: slrn/0.9.8.1 (FreeBSD) Original-Xref: shelby.stanford.edu gnu.emacs.help:156461 X-Mailman-Approved-At: Mon, 25 Feb 2008 20:38:18 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:51855 Archived-At: Lars Meier wrote: > Hallo NG, > > I'm using whitesmith style for the emacs c-mode because this style is > very simular to the existing code I'm working on. > > Some time ago I switched to emacs 22 because the version has some > improvements which are important for me. But with emacs 22 the > whitesmith-style does the indentation different than emacs 21 at least > in the default setting. Hear is a short example: > > emacs 21: > > int main() > { > my_function(xxxxxxxxxxxx, > yyyyyyyyyyyy, > zzzzzzzzzz); > } > > > emacs 22: > > int main() > { > my_function(xxxxxxxxxxxx, > yyyyyyyyyyyy, > zzzzzzzzzz); > } > > > But the emacs-22-version is not what I need and it's very tedious to fix > this by hand. Is there a simple way to change this back to the old > behaviour maybe by changing an indentation setting or something like that? I don't know if you've found a solution to this, but you probably should file a bug report since it's clearly (IMO) wrong behaviour. (I use ellemtel which doesn't seem to be affected in the same way.) - Will