From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andrii Kolomoiets Newsgroups: gmane.emacs.bugs Subject: bug#38156: 27.0.50; [PATCH] VC: ability to skip update buffers prompt Date: Thu, 14 Nov 2019 09:13:33 +0200 Message-ID: <9E38A0BD-16D2-48B5-B87A-02A1F3F9986C@gmail.com> References: <878sojq9w1.fsf@gnus.org> Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Content-Type: multipart/mixed; boundary="Apple-Mail=_DB74D5E0-FD84-4F68-AE18-C5F0F576ACD0" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="206543"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38156@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 14 08:14:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1iV9KV-000rXF-R4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Nov 2019 08:14:11 +0100 Original-Received: from localhost ([::1]:53970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iV9KU-0007sP-MZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Nov 2019 02:14:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54262) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iV9KN-0007sG-LI for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2019 02:14:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iV9KM-0004uC-MP for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2019 02:14:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52007) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iV9KM-0004u8-IF for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2019 02:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iV9KM-0004A5-C1 for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2019 02:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrii Kolomoiets Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Nov 2019 07:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38156 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 38156-submit@debbugs.gnu.org id=B38156.157371562415962 (code B ref 38156); Thu, 14 Nov 2019 07:14:02 +0000 Original-Received: (at 38156) by debbugs.gnu.org; 14 Nov 2019 07:13:44 +0000 Original-Received: from localhost ([127.0.0.1]:60828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iV9K3-00049O-Nz for submit@debbugs.gnu.org; Thu, 14 Nov 2019 02:13:43 -0500 Original-Received: from mail-lj1-f174.google.com ([209.85.208.174]:33901) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iV9K1-00049A-FI for 38156@debbugs.gnu.org; Thu, 14 Nov 2019 02:13:41 -0500 Original-Received: by mail-lj1-f174.google.com with SMTP id 139so5473570ljf.1 for <38156@debbugs.gnu.org>; Wed, 13 Nov 2019 23:13:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=7KF/TIFzl4nvP5S9Rit78QtasTPh3PPozE4sJR5okjI=; b=OAhJMYzH6ULT13xBDG/q9P0NR0hy3AZPvjoIAgB8Qv+LNn/zp/QSIXD4OezeNZhkyw 38Eyh+JtH5oqb5p8nUwFTZ5w96wezlco9W8CtFMjdKstGu0fKI1FXZ202CI2351fCTgh nPNVmjS2pmi+USzDUDEE0kKTZ++7VSI0q8dTVXrdCmrnlYrVK9/xX2kuB7W6TUJBYOBq hx/vX3Vp3qrOGM9/l2RNQKPRBLs2qLyrRjCFiM2o94IY3K8TlPCi4Z03ZvWOgg6If8wO ljS+RIMWLu6mgPFkofAq32Unwf1b8tj1nuP63GmnXYzrHduy424JEDM/CNg+1iGv5R9D 13gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=7KF/TIFzl4nvP5S9Rit78QtasTPh3PPozE4sJR5okjI=; b=IEwdLST9fFlDs3YoANzCAKEjj+h6VKXL15X63/0dNbG8J8W9qA/sy6BPwbNoVpfyuy gATASqR8oaZmiugTJKIZ3I/0sSBPh4vhDXOUMdp4RrdlnxyGU4BL9wqsh9V5DDBZ1LHL iIpS2fuq5AB4e0yxwUtCi9BxIWisGmU4JcxxValr6cBjWe8rMv9dUKQ0aZNuPH2DtBri My01sLOM/Eck9Ja6i/0ZN4rvD+tGmbBUxmbi8RMmZhAbNdlRL38qsmUkii9lrqnAq0iM XYarfn43/qQNV+4+r2YRmgbBtjP1cb8t0oZaAOvWGKQUYdyICi6E0Vw4bsy3592eYtix b0mQ== X-Gm-Message-State: APjAAAXNCO+BzogoZL5d0aYpDx3lZ54QVdRjBGXt+OMLQMYsD3kDZ+2W 7H6RhsirRoMckoyFHxReJlg= X-Google-Smtp-Source: APXvYqwUKXV8F5k9d8AGQ6u7s8wlOyr87tZwvLS2MrKJPx4ypmPiz/4vTK/HfHknKmjlsNzfxM7I4Q== X-Received: by 2002:a2e:9c8f:: with SMTP id x15mr5552902lji.204.1573715615486; Wed, 13 Nov 2019 23:13:35 -0800 (PST) Original-Received: from [10.1.1.147] (188-42-207-82.ip.ukrtel.net. [82.207.42.188]) by smtp.gmail.com with ESMTPSA id y9sm2018689lfl.16.2019.11.13.23.13.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Nov 2019 23:13:34 -0800 (PST) In-Reply-To: <878sojq9w1.fsf@gnus.org> X-Mailer: Apple Mail (2.3601.0.10) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:171551 Archived-At: --Apple-Mail=_DB74D5E0-FD84-4F68-AE18-C5F0F576ACD0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Hi Lars, > On 14 Nov 2019, at 07:55, Lars Ingebrigtsen wrote: > > I applied the patch anyway, because it provides a way to make the > backends say whether they support it or not, which seems generally > useful. Please install attached patch. Totally missed that default vc functions are called with `backend` argument. Thanks. --Apple-Mail=_DB74D5E0-FD84-4F68-AE18-C5F0F576ACD0 Content-Disposition: attachment; filename=0001-lisp-vc-vc.el-vc-default-update-on-retrieve-tag-Acce.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-lisp-vc-vc.el-vc-default-update-on-retrieve-tag-Acce.patch" Content-Transfer-Encoding: quoted-printable =46rom=20dfc40b85d9ff6fbc5344cd6882881c421decee35=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Andrii=20Kolomoiets=20=0A= Date:=20Thu,=2014=20Nov=202019=2009:07:31=20+0200=0ASubject:=20[PATCH]=20= lisp/vc/vc.el=20(vc-default-update-on-retrieve-tag):=20Accept=0A=20= backend=0A=0A*=20lisp/vc/vc.el=20(vc-default-update-on-retrieve-tag):=20= Accept=20backend=20argument=0A=0Adiff=20--git=20a/lisp/vc/vc.el=20= b/lisp/vc/vc.el=0Aindex=20401b39145c..0d29c80d02=20100644=0A---=20= a/lisp/vc/vc.el=0A+++=20b/lisp/vc/vc.el=0A@@=20-3032,7=20+3032,7=20@@=20= vc-default-receive-file=0A=20=20=20"Let=20BACKEND=20receive=20FILE=20= from=20another=20version=20control=20system."=0A=20=20=20= (vc-call-backend=20backend=20'register=20(list=20file)=20rev=20""))=0A=20= =0A-(defun=20vc-default-update-on-retrieve-tag=20()=0A+(defun=20= vc-default-update-on-retrieve-tag=20(_backend)=0A=20=20=20"Prompt=20for=20= update=20buffers=20on=20`vc-retrieve-tag'."=0A=20=20=20t)=0A=20=0A--=20=0A= 2.15.1=0A=0A= --Apple-Mail=_DB74D5E0-FD84-4F68-AE18-C5F0F576ACD0--