From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nix Newsgroups: gmane.emacs.devel Subject: Re: [RFC PATCH] setting indentation styles via `c-file-style' fails to actually change indentation Date: Thu, 02 Jun 2011 17:47:16 +0100 Message-ID: <87fwnstc2z.fsf@spindle.srvr.nix> References: <87pqngewwp.fsf@spindle.srvr.nix> <87wrh5tyh7.fsf@spindle.srvr.nix> <20110602122412.GA2448@acm.acm> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1307033413 5863 80.91.229.12 (2 Jun 2011 16:50:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Jun 2011 16:50:13 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 02 18:50:09 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QSB5z-0001j3-TC for ged-emacs-devel@m.gmane.org; Thu, 02 Jun 2011 18:50:08 +0200 Original-Received: from localhost ([::1]:41207 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSB5y-00042J-QU for ged-emacs-devel@m.gmane.org; Thu, 02 Jun 2011 12:50:06 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSB3R-0003SQ-E0 for emacs-devel@gnu.org; Thu, 02 Jun 2011 12:47:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QSB3O-0004Iz-QO for emacs-devel@gnu.org; Thu, 02 Jun 2011 12:47:29 -0400 Original-Received: from icebox.esperi.org.uk ([81.187.191.129]:57681 helo=mail.esperi.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSB3O-0004IY-9a for emacs-devel@gnu.org; Thu, 02 Jun 2011 12:47:26 -0400 Original-Received: from esperi.org.uk (nix@spindle.srvr.nix [192.168.14.15]) by mail.esperi.org.uk (8.14.4/8.14.3) with ESMTP id p52GlHQs002008; Thu, 2 Jun 2011 17:47:17 +0100 Original-Received: (from nix@localhost) by esperi.org.uk (8.14.4/8.12.11/Submit) id p52GlGux010791; Thu, 2 Jun 2011 17:47:16 +0100 Emacs: impress your (remaining) friends and neighbors. In-Reply-To: <20110602122412.GA2448@acm.acm> (Alan Mackenzie's message of "Thu, 2 Jun 2011 12:24:12 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-DCC-STAT_FI_X86_64_VIRTUAL-Metrics: spindle 1245; Body=3 Fuz1=3 Fuz2=3 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 81.187.191.129 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140074 Archived-At: On 2 Jun 2011, Alan Mackenzie told this: > At a guess, the bug is caused by calling c-file-style with a setting of > `dont-override' which causes it to choke on the above hacks. Er, yes. Did you miss my original post? 'cos I came to that conclusion, and have a patch, which works for me, at least... but it's rather ugly, so if there is a better way which would still allow setting of styles on file-by-file and directory-(class)-by-directory-(class) basis, then I'm glad to try that instead! -- NULL && (void)