From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: RFC: Automatic setup for bug-reference-mode Date: Thu, 18 Jun 2020 12:46:40 +0300 Message-ID: <59a15059-2ba5-5fcb-c6aa-3c9877394e1d@yandex.ru> References: <87r1uihtsu.fsf@gnu.org> <87h7vd3cbs.fsf@gnu.org> <87tuzdsj8d.fsf@gnu.org> <87tuzd755z.fsf@gnu.org> <86o8pkabzh.fsf@stephe-leake.org> <87pna0mxxw.fsf@gnu.org> <87ftatcr48.fsf@mail.linkov.net> <87mu50c3gy.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="24287"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 To: Juri Linkov , Stephen Leake , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jun 18 11:47:59 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jlr9J-0006Ab-06 for ged-emacs-devel@m.gmane-mx.org; Thu, 18 Jun 2020 11:47:57 +0200 Original-Received: from localhost ([::1]:58114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlr9I-0007Ty-2c for ged-emacs-devel@m.gmane-mx.org; Thu, 18 Jun 2020 05:47:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlr8A-0006HS-HY for emacs-devel@gnu.org; Thu, 18 Jun 2020 05:46:46 -0400 Original-Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:53707) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jlr88-0006Is-Qd for emacs-devel@gnu.org; Thu, 18 Jun 2020 05:46:46 -0400 Original-Received: by mail-wm1-x332.google.com with SMTP id l26so4514764wme.3 for ; Thu, 18 Jun 2020 02:46:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=taW0rR0gTU2B8m5MLcRN/URPXvijHAq7xndpzfWnJWQ=; b=TO5Fl8m6wQA98Icb6NYqo7afMove8vQAI+TfEAhis+P/XxEn6ghForSWLypC5mmui+ SshL0JVGNVh4JhLXSur7itExiONzvfMV1yIczf7Gg1G22oeMUav4hyMqgr8tnjLcgKIU L5qiWKs7gWY13TX77k6cxnVMRSQgRmVnjgwkO1GhUiobSRloL6++c3k/JcdObKVydf7Q dDL8zq7/CwYwPyhuIsyQRmgKBF75xTtNBlwu31osN5/FAw7ecIzgUeWINRmqqYOBjlls 4WO1nFZBNO1UmmUrp1K4FWhPPrh6y3BLc8UgoNS/EvBrS9+1NhR76cIsYDIPuqk7u+dn whMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=taW0rR0gTU2B8m5MLcRN/URPXvijHAq7xndpzfWnJWQ=; b=Gema6y1V26cXj6arZfqyoHzuLePsqVenYynkSub7mFw1iz6JjIwoHeujXu+jv4j234 y3oUR14nw7iovN9CnABq0vSAzY6cZ8vo6Kv/7mlQ+3GI79W+zt0uM8+kGJgamSmEnEsq H3qvHcV1FyJ93fqdhs1KtC5QTRAEGZgf844dyDCNznPkRcneLEhB/IHeY5oam9fyturh tYLXr+7ZHj9QBaZosnBCaT+tHaLV8M5xMpNT2lRhpZBowESK9ErNHwcPg7sbz82JsQ0f 4kXu1YBbRVi/969vZJv4EHPV4vQHRmtyqoKOPOyhlXBVVNsUV47YwU43t3hAtGmn9QFu BNMg== X-Gm-Message-State: AOAM5330MXO/DfMJTJjcLJhyDKxScWDzwhEAMKU6VQJqh8X8/zmh56oK X/1xEEF83BwglauFPyVBG1CAqA7R X-Google-Smtp-Source: ABdhPJygi+5XFJLbus6jZd+tneX7uXOaN9SEx9nRRbvA1xzTRWCbhIfHkgRWv/z3gHruS5NzpZP/VQ== X-Received: by 2002:a1c:2987:: with SMTP id p129mr2533495wmp.49.1592473602798; Thu, 18 Jun 2020 02:46:42 -0700 (PDT) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id z16sm2815084wrm.70.2020.06.18.02.46.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Jun 2020 02:46:41 -0700 (PDT) In-Reply-To: <87mu50c3gy.fsf@gnu.org> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=raaahh@gmail.com; helo=mail-wm1-x332.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:252306 Archived-At: On 18.06.2020 09:06, Tassilo Horn wrote: > I think the actual problem was that > > git config branch..remote > > wasn't necessarily called in the given project DIR so returned the > global default remote "origin". I... don't think so? It returned an empty string in my testing. Which resulted in remote-url being nil. > I'm not exactly sure if that is really needed but at least it was needed for M-: (vc-git-dir-extra-headers "~/some/project/") which I used to reproduce the problem (which still occurred). Maybe it's not needed when vc-dir calls it, but let's say it is a good change anyway since it makes the function debuggable standalone. I don't mind, but a lot of VC functions depend on a changed default-directory value implicitly.