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: vc-state and unregistered Date: Tue, 19 Apr 2016 11:21:06 +0300 Message-ID: References: <6ok2vyzwf9.fsf@fencepost.gnu.org> <08f70cda-44be-0657-e50a-2b2c80d2c21c@yandex.ru> <87oa9dzgl0.fsf@gmx.de> <87potshczh.fsf@gmx.de> <87bn57otja.fsf_-_@gmx.de> <515b3451-820d-ad50-8c98-d0330a0f4266@yandex.ru> <87lh4arpbg.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1461054103 11512 80.91.229.3 (19 Apr 2016 08:21:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Apr 2016 08:21:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 19 10:21:37 2016 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 1asQud-0000kq-UO for ged-emacs-devel@m.gmane.org; Tue, 19 Apr 2016 10:21:36 +0200 Original-Received: from localhost ([::1]:53683 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asQuW-0007f3-96 for ged-emacs-devel@m.gmane.org; Tue, 19 Apr 2016 04:21:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asQuH-0007cq-Jc for emacs-devel@gnu.org; Tue, 19 Apr 2016 04:21:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asQuD-00018C-J3 for emacs-devel@gnu.org; Tue, 19 Apr 2016 04:21:13 -0400 Original-Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:36727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asQuD-000188-BV for emacs-devel@gnu.org; Tue, 19 Apr 2016 04:21:09 -0400 Original-Received: by mail-wm0-x243.google.com with SMTP id l6so2861991wml.3 for ; Tue, 19 Apr 2016 01:21:09 -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-transfer-encoding; bh=rUioNF+taMYGq4r2JHmNCky+KLqXqNsxrTNIIHRajEw=; b=xMSskm/UO2oPhEdjVYHcIdSskFBNLwKgGmK94+c4PxSOWp6YsSpb5kzIFiOHPJ25r1 XjL8k3Ete6oIJQWGZ8tqNa8uU8t/YufO/W3ksd+y7J9SrK/8CnJ0u/2bu7RldGHPlTXL HJKOY7cA7AMoiTJRE1zEddLFIT5Gf2bO7YhDl3BEZz5q/IkkGoMexSnqprAoXETBI3RC wJn3tIghkJewOLEEFitnrqdN1dPy+vVD8oO0KqT2gjR9MKAun8JHzQJI+5/+x5N0IpqM Ka8x+YOH63g5LS3uF4nM6BYD1jJKGfVhllnB+pkMwoegqO4DNROGC45bskrhIviQjfU8 QSWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=rUioNF+taMYGq4r2JHmNCky+KLqXqNsxrTNIIHRajEw=; b=JWesjlIOCQy/uLv1wGCAjx+J75cCs3ocjTCuETmVel82JujO02u/WC9B2gymNiGhNS Zibk5auw9uEIQA/UTpj6sJWd/TZiWgcY+fOgSe60+/Xxseeyei4YrWWRde60bCj5ndg6 DVozYCCl1A3r2yyRSo+i0/JgSNEFJNr63lORrEl8Mwinb/GAT3sabcz11M7tBaHD+skV X3T2bzn+ds/wYiUMM1kBIbVYYNQWlqj9Gm3a6b/lpN6PschY4mXniHY7wS5nnG8HSdjF dBe57jOiQTF4tq8zR9RdLyHK/aM1tLD7RyVDLwuznPanslYs/TLgXMBmms6Lmw+YW8jI j2cQ== X-Gm-Message-State: AOPr4FX6FnppLM0Ju9n3HOc3DkT5jWiP3PoXlREAV7IuqJquqInBimvs5TdPA3RDzwZNpg== X-Received: by 10.194.111.229 with SMTP id il5mr1942886wjb.82.1461054068772; Tue, 19 Apr 2016 01:21:08 -0700 (PDT) Original-Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id gk4sm67891359wjd.7.2016.04.19.01.21.07 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Apr 2016 01:21:07 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 In-Reply-To: <87lh4arpbg.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::243 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:203087 Archived-At: On 04/19/2016 11:10 AM, Michael Albinus wrote: > I don't mean this. The problem is how vc caches values. It uses file > properties, and in case `vc-file-getprop' returns nil, it assumes the > property is not cached. Consequently, we can never cache the value nil > for the file property `vc-state'. Which part of this hasn't been addressed in my previous email? What are the practical problems that you anticipate? > That is a regression, compared with > caching the value `unregistered'. We've never returned that value anyway. And as such, never cached it. So it wouldn't be a regression.