From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: cl-defgeneric vs random funcall in project.el Date: Tue, 4 Aug 2015 23:56:58 +0300 Message-ID: <55C1271A.2090202@yandex.ru> References: <86oaiwa57v.fsf@stephe-leake.org> <55B79B3F.1060200@yandex.ru> <86wpxj93r2.fsf@stephe-leake.org> <55B82A0C.5040709@yandex.ru> <86fv4782k2.fsf@stephe-leake.org> <55B92F76.7060104@yandex.ru> <86380686sm.fsf@stephe-leake.org> <55BA0AC4.7060906@yandex.ru> <86mvyd7jf0.fsf@stephe-leake.org> <55BA5BDD.1080009@yandex.ru> <86k2thz0dw.fsf@stephe-leake.org> <55BAC366.1010803@yandex.ru> <86fv44z94l.fsf@stephe-leake.org> <55BBFC3E.2010405@yandex.ru> <86h9ojjoll.fsf@stephe-leake.org> <55BCB6E5.2040804@yandex.ru> <86wpxfhyzm.fsf@stephe-leake.org> <55BCF888.4020907@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1438721841 21966 80.91.229.3 (4 Aug 2015 20:57:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Aug 2015 20:57:21 +0000 (UTC) Cc: Stephen Leake , emacs-devel To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 04 22:57:12 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZMjGq-00062Z-Eh for ged-emacs-devel@m.gmane.org; Tue, 04 Aug 2015 22:57:12 +0200 Original-Received: from localhost ([::1]:38184 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMjGq-0001By-38 for ged-emacs-devel@m.gmane.org; Tue, 04 Aug 2015 16:57:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMjGk-0001Bd-9F for emacs-devel@gnu.org; Tue, 04 Aug 2015 16:57:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMjGg-0004eu-TC for emacs-devel@gnu.org; Tue, 04 Aug 2015 16:57:06 -0400 Original-Received: from mail-la0-x22d.google.com ([2a00:1450:4010:c03::22d]:33041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMjGg-0004ej-Ku for emacs-devel@gnu.org; Tue, 04 Aug 2015 16:57:02 -0400 Original-Received: by lady2 with SMTP id y2so11796069lad.0 for ; Tue, 04 Aug 2015 13:57:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=srF0G/ATUSDIJIlaRVIZlGDCMXEgP1jQtu8laXOx+uM=; b=wYVqNPxyW4BR4zRDn9MIQmhZ3/kvj3b+Sc1eUOW0jbZwPhS5fUKu03/VWI0YZLrw8f 1JhuiSFfYKqIufkQT0ZBFi5YeAq83RX5iJBziF57KFL5wUvG7agsMWEKX7xC6lJXThhw pj/x8DTY+2VUUllxKmhrJCbDjZyDV07MVja0Jc4YcJU75QgTfXwyCpv301+BXAgJUDFn eki96Sxlqjudriy/vxhS4vslqv8WMFs3UKYT+x8xTeP7Up9POsAE1r+qXLPpLRN7gAZZ WtT2RIuDFeo9PTMmDYVTfA68ieWGF44JvgOafQ7UUj1Jk8OK0NSNGIzyq//y+9+YSavN 1d/Q== X-Received: by 10.152.170.130 with SMTP id am2mr6436678lac.54.1438721821735; Tue, 04 Aug 2015 13:57:01 -0700 (PDT) Original-Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id tj8sm94759lbb.22.2015.08.04.13.57.00 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Aug 2015 13:57:00 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Thunderbird/40.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22d 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:188415 Archived-At: On 08/04/2015 10:59 PM, João Távora wrote: > You can probably > > (with-temp-buffer (setq default-directory DIR) (hack-dir-local-variables)) > ...) > > Won't that work? I use this ocasionally for my personal horrible ad-hoc > project managing code (that I hope to replace with project.el eventually). I suppose. Originally, I discarded this kind of idea as too hacky, but indeed, there's value in limiting ourselves to .dir-locals.el here. To continue this line of thought, would you say the variables should have global meaning (meaning all project backends should honor them), or should they be only used in the VC project backend? I've been leaning towards the latter, but project-vc-ignores is a pretty terrible name, in this context.