From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Bug #3808 revisited (can't set c-cleanup-list because of .dir-locals.el) Date: Sun, 18 Jul 2010 20:44:44 +0000 Message-ID: <20100718204444.GA6205@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1279485646 14465 80.91.229.12 (18 Jul 2010 20:40:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 18 Jul 2010 20:40:46 +0000 (UTC) To: emacs-devel@gnu.org, Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 18 22:40:45 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OaafE-0005TF-BL for ged-emacs-devel@m.gmane.org; Sun, 18 Jul 2010 22:40:44 +0200 Original-Received: from localhost ([127.0.0.1]:37068 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OaafD-0001Vm-Qb for ged-emacs-devel@m.gmane.org; Sun, 18 Jul 2010 16:40:43 -0400 Original-Received: from [140.186.70.92] (port=37776 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oaaf3-0001TU-OX for emacs-devel@gnu.org; Sun, 18 Jul 2010 16:40:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oaaf2-0002hl-MM for emacs-devel@gnu.org; Sun, 18 Jul 2010 16:40:33 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:1624 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oaaf2-0002hU-Hc for emacs-devel@gnu.org; Sun, 18 Jul 2010 16:40:32 -0400 Original-Received: (qmail 4284 invoked by uid 3782); 18 Jul 2010 20:33:49 -0000 Original-Received: from acm.muc.de (pD9E50C85.dip.t-dialin.net [217.229.12.133]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Sun, 18 Jul 2010 22:33:48 +0200 Original-Received: (qmail 6362 invoked by uid 1000); 18 Jul 2010 20:44:44 -0000 Content-Disposition: inline User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 4.6-4.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:127562 Archived-At: Hi, Emacs, Yidong, and Jan, In Bug #3808, Jan Djärv couldn't set a C Mode "style variable" because of the way CC Mode set the style when that style was specified in a .dir-locals.el. I have now fixed this bug properly so that `c-set-style' is called differently depending on whether `c-file-style' was set in a .dir-locals.el or in the C file's Local Variables section. Jan, would you please test the savannah bzr trunk and confirm to me that the bug really is fixed. Yidong, assuming this to be the case, could you please apply the fix (revision 100846) to the Emacs-23 branch. Thanks! -- Alan Mackenzie (Nuremberg, Germany).