From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: A project-files implementation for Git projects Date: Tue, 10 Sep 2019 15:57:58 +0200 Message-ID: References: <8736h9rdc4.fsf@gnu.org> <87mufcfz1u.fsf@gnu.org> <87tv9kz2x6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="156524"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Stefan Monnier , emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 10 15:58:22 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i7gez-000eaD-MI for ged-emacs-devel@m.gmane.org; Tue, 10 Sep 2019 15:58:21 +0200 Original-Received: from localhost ([::1]:40068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7gey-0004pL-9J for ged-emacs-devel@m.gmane.org; Tue, 10 Sep 2019 09:58:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45508) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7gei-0004hI-Tr for emacs-devel@gnu.org; Tue, 10 Sep 2019 09:58:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i7geh-0007aL-Uz for emacs-devel@gnu.org; Tue, 10 Sep 2019 09:58:04 -0400 Original-Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:33398) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i7geh-0007Ze-PK; Tue, 10 Sep 2019 09:58:03 -0400 Original-Received: by mail-wr1-x42f.google.com with SMTP id u16so20521616wrr.0; Tue, 10 Sep 2019 06:58:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=sUig/8i/XD54Sh7FeM+eqVhN0lRyUmV+7bW5k86AeO4=; b=hLyBm4dAXGu7XJpahqrCdcHZxkD6d6/2TvHfTaWOZR7hvhEj2YiLNG3XPeiL7kpL8T NCYMcrzlaebJFWcKzERdFY1TF9GyVjGZNfvrnECL07ceiOqL+5UCGRXtaEnjVL02IkFu KCYev4YATaQYgT1O3v6epmwCholyQ1RZyGZTwIeRXS5GBQdYeIwv9y2h9FfgTpNpgCCE IvE1bKkYPEHklVi4GPYPmrwQw38uoCqAVEjcX1CxV0+Z5jtYE3BdwZNqrk0COrSkHYV/ 6whuIlhKAXQxIC6zrfRSnyCxuOnxGJW89ivsgOQvgCF8ZJDTCKZqeD4P5Qq0i7AJ+O5P /ZxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=sUig/8i/XD54Sh7FeM+eqVhN0lRyUmV+7bW5k86AeO4=; b=A/enxa0KgDTUE3xEOBhooay1Z0G5LCYCMucD3R0AMca/txcopA6NNJfrRD10GFkQcY mCifNUgIq0RcSJvVrl6+EoN9IXIzv83tKAgQYblJKms3IQLWcVbpnXWZ0gAAQrEL1h+P KSiGh6IM9i/Wq8G3xDzp3fxNi4Mi4a5rHiSplFOWqLR5ZFsMCYlOaU4hPermxy+H5BFK 6MQgJJZCE5PUbNysYeAKFTerqtsUbi3zpnpSI4Sv75GvaiFUjrJ05MdtgU9JuSN68Qqd WklsKrCRsBEYb0EYTW0SjgRP041Rv5ueNzrmF91BrIVdE/1Keb9R2BSLl6NRNK3pz3c+ c5eg== X-Gm-Message-State: APjAAAXEihuyLDdJsiapFasH4Zpc0d0p5MPNUAwPQNt29qCR9pvM/yyI H6mqTSpZ447naEhyVcYHHrFry4bS X-Google-Smtp-Source: APXvYqwfDc7Ee9xzpb0jGRbQBfo6FhqaD3DCfSWC1/sf2V42jD83DQXZDgo5snbqyWP38/COPE44GQ== X-Received: by 2002:a5d:4081:: with SMTP id o1mr24544246wrp.41.1568123881452; Tue, 10 Sep 2019 06:58:01 -0700 (PDT) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id x9sm4610601wru.26.2019.09.10.06.57.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2019 06:57:59 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <87tv9kz2x6.fsf@gnu.org> (Tassilo Horn's message of "Tue, 10 Sep 2019 15:39:01 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.emacs.devel:239979 Archived-At: >>>>> On Tue, 10 Sep 2019 15:39:01 +0200, Tassilo Horn said: >>> But how do I know the right backend without explicit tests? >>> vc-backend wants a file and all I have is the project's directory. >> >> IIRC, vc.el calls vc-backend with the directory name in those cases. Tassilo> (vc-backend "~/Repos/el/emacs") => nil Tassilo> But that's my emacs git checkout... If you can persuade it to do (vc-responsible-backend "~/Repos/el/emacs") instead, then things should work. Robert