From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Didier Verna Newsgroups: gmane.emacs.bugs Subject: bug#13646: Whitespace support for file/mode-specific styles and actions Date: Tue, 12 Feb 2013 09:55:29 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360659343 15296 80.91.229.3 (12 Feb 2013 08:55:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Feb 2013 08:55:43 +0000 (UTC) To: Glenn Morris , Stefan Monnier , 13646@debbugs.gnu.org, viniciusjl@ig.com.br Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 12 09:56:03 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U5Bel-0002jS-9V for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Feb 2013 09:56:03 +0100 Original-Received: from localhost ([::1]:44471 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5BeR-0004u8-VF for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Feb 2013 03:55:43 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5BeO-0004tm-3e for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2013 03:55:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5BeM-0002SD-KN for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2013 03:55:40 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5BeM-0002S1-GX for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2013 03:55:38 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U5Bek-0004Sy-AY for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2013 03:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Didier Verna Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Feb 2013 08:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13646 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13646-submit@debbugs.gnu.org id=B13646.136065936117161 (code B ref 13646); Tue, 12 Feb 2013 08:56:02 +0000 Original-Received: (at 13646) by debbugs.gnu.org; 12 Feb 2013 08:56:01 +0000 Original-Received: from localhost ([127.0.0.1]:51556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5Beh-0004Sh-MF for submit@debbugs.gnu.org; Tue, 12 Feb 2013 03:56:00 -0500 Original-Received: from sao-paulo.lrde.epita.fr ([163.5.55.1]:44764 helo=uzeb.lrde.epita.fr) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5Bee-0004SZ-HR for 13646@debbugs.gnu.org; Tue, 12 Feb 2013 03:55:58 -0500 Original-Received: by uzeb.lrde.epita.fr (Postfix, from userid 17030) id 465CD16E13E2; Tue, 12 Feb 2013 09:55:29 +0100 (CET) In-Reply-To: (Didier Verna's message of "Thu, 07 Feb 2013 23:00:02 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEXozbMPBQTMbimlTBMf GBDdk1kNDgpVnrg8AAACRElEQVQ4jW1UwW7rIBCkr0nvSCufKygf0AXfQ7zmnGLzAZaQ//8T3kAc KWo6kRJlh5mdXZwoBbwPadgBipPiJaWLOiCUWn2PlOZxJaGDOel9kEakutH8nUjqnUiyDV1SY40i usbYJacUd4nda5CtDlCQdIK2uj8AyRCFepct7Ul3qiIcQatT6/ITd6TdenO0GvClxlTVKdZt/4WK jOqElr+JBGP1Nmz0XByOd/Xxh4JEovpI9Lu+RQ0iJv0iiBJJ6e0llBa3iKo6xqeiyL6R8RxUO/Fc rkO8svVevTRI5P31iUiPRPvsDb8qNqrsR5/NqxUt1vjltUecnDHG/tF8HB1nf1htWvfBIsnMsLJQ ULsnHYk0ngOSq7eW2cqqcJYaxLoxFzYjW7u4WUBgZZomVxb0ZLM4M8V5FbX4eHnTU6saNg1OLnBV ZXEhxPJpDeY17BA2SFgvqpTirHe+IIrlknPJQd6mAKJxjO1wdp4/b6WsItPSquVcHrgpdVPniea1 EefzDS91A+5PeZiuQR3nGo6PbL8C3wlQRTXRHeecbVYe4Q/VnUCYjGk60XD4oTVWi5mUTL5P7MzY KPgV45x1ShDaA2wwZzODrW1W6hwmC7E370tYGSGwNJdL/5kzrqZRXub1ptgUrLoR/yCwzuQSfChl xJmyyJ3oyfKSvTj21pSVYidablwRdnzFjtFdaH8QuLs88mKW1TNnGvp/w7n7tFFwvYHH8hXr0Mft o2MQw+yM8/ZHJ+oEUrmMh2a0MyKtLsie/gO8xRIj3mMAJAAAAABJRU5ErkJggg== X-Face: %_h6{7j{G{a5eS.S+E5mfa-D78Ci>}HGu}.qvW{; M7$+@17`Z(}j,"yO_!z5|}W|]Es=P_> ^u*}:XpKb-U-D]ti~#Sf&L,tWu.YiUoG*.jbp:JfD; LnPS}U xm1D2)hIrF$O(T-`tV'AD{:xPQnpO#k]/[%"0vfL+c]^Mkp5J#nL>dcO~]> X-Attribution: dvl X-Url: http://www.lrde.epita.fr/~didier X-Web: http://www.lrde.epita.fr/~didier X-Home-Page: http://www.lrde.epita.fr/~didier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71083 Archived-At: I wrote: > Yes indeed (I since read the relevant documentation). The problems > that remain, AFAUI, are > > 1/ as you said, the (current) lack of support for regexp-based dir > (or file, for that matter) specification, > 2/ the fact that eventually, the settings turn into buffer-local > variables. > > Also, correct me if I'm wrong but I think that Custom is totally > unaware of the dir-locals feature, so this is less user-friendly than > a package-specific solution. I tried to play a little more with dir-locals and I see yet another limitation: it seems that there's no way to accumulate values across settings for different directories in the same tree. For example, I may create a class CLASS in my init file with some variable settings for it, and put "/usr/local/" in that class. However, since "/usr/local/src/emacs/emacs.git" has a .dir-locals.el file, my settings for "/usr/local" won't apply. Stefan, is there a chance to see my whitespace.el modifications applied eventually ? -- Resistance is futile. You will be jazzimilated. Scientific site: http://www.lrde.epita.fr/~didier Music (Jazz) site: http://www.didierverna.com