From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: yoshinori.kawahara@gmail.com Newsgroups: gmane.emacs.bugs Subject: Re: cc-mode in Emacs CVS head: Ellemtel indent broken or (arglist-cont-nonempty) recently changed? Date: Tue, 22 Apr 2008 16:51:40 -0700 (PDT) Organization: http://groups.google.com Message-ID: <85fdbb40-3c85-4721-bcee-94b4ca6ea8ca@k13g2000hse.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1208925346 32422 80.91.229.12 (23 Apr 2008 04:35:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Apr 2008 04:35:46 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 23 06:36:21 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-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 1JoWiP-0003dD-IP for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Apr 2008 06:36:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JoWhj-00005R-Rk for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Apr 2008 00:35:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!k13g2000hse.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 18 Original-NNTP-Posting-Host: 65.204.206.129 Original-X-Trace: posting.google.com 1208908301 21753 127.0.0.1 (22 Apr 2008 23:51:41 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 22 Apr 2008 23:51:41 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k13g2000hse.googlegroups.com; posting-host=65.204.206.129; posting-account=E2M-JAoAAADJXDPIwCHmf7F0LFSgO-Ew User-Agent: G2/1.0 X-HTTP-Via: 1.1 IR-SEC-SRV, 1.1 DVR-BCKP-SRV X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5,gzip(gfe),gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.bug:44782 X-Mailman-Approved-At: Wed, 23 Apr 2008 00:34:57 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17867 Archived-At: On Apr 5, 2:47=A0am, Joachim Nilsson wrote: > Hi! > > The bug still exists on CVS HEAD. =A0I'm making another plead, > this time including a patch to fix the problem (described in > detail below). =A0Please note that this fix only affects the > Ellemtel style of cc-mode, so it is quite safe to apply. I use the ellemtel style too, I added the following to my .emacs file to restore emacs 21 behaviour. (defun my-c-mode-common-hook () ;; fix up alignment, got broken in emacs22 (c-set-offset 'arglist-cont-nonempty '(c-lineup-gcc-asm-reg c-lineup- arglist))) (add-hook 'c-mode-common-hook 'my-c-mode-common-hook)