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: [PATCH] Allow hiding stashes from vc-dir Date: Wed, 16 Oct 2019 10:57:18 +0200 Message-ID: References: <831rvegnub.fsf@gnu.org> <871rvex9ue.fsf@mail.linkov.net> <87eezdpjh4.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="16884"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Eli Zaretskii , emacs-devel@gnu.org, Juri Linkov To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 16 11:00:59 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 1iKfAv-000432-Mb for ged-emacs-devel@m.gmane.org; Wed, 16 Oct 2019 11:00:57 +0200 Original-Received: from localhost ([::1]:39528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKfAt-00010V-Ma for ged-emacs-devel@m.gmane.org; Wed, 16 Oct 2019 05:00:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50760) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKf7S-0005Td-Ka for emacs-devel@gnu.org; Wed, 16 Oct 2019 04:57:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKf7R-0006qE-FG for emacs-devel@gnu.org; Wed, 16 Oct 2019 04:57:22 -0400 Original-Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:34970) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iKf7R-0006pt-74; Wed, 16 Oct 2019 04:57:21 -0400 Original-Received: by mail-wr1-x442.google.com with SMTP id v8so27069453wrt.2; Wed, 16 Oct 2019 01:57:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=RZDquuMPnN0R318RPoplksSJ/Om+A7coEg8w813LMFU=; b=dfCQ5i+93jxJKjmhN/NlPVL9o6OEXFJkmSTNCpYDvXmoOfOzAjhCveA1mW9EHwAKJQ sCiySOn1OefB0sR7Osozi36EYaY9yH8KpUnxnuRQWrMbFJDQJJsW6l/kknNcHsn1ClY7 VvDs1EEtIHIyhB+Pnm4q89zlrcGDQqwhIdXLsVUr2PvaxPaX8Hs5XU/1UGK/iTYECG4O 4rGyb+Eik+AzoFGYJN8vv+pdJw8hrq2b25V6pWNTdaPD5DfcdVu2fYlVH39i8t3StHeO zDUAZzVi4RBEUdImv/5JbWvKpiY7XfIzy7Gbrx9LuKnJx56y/j2hX/EyUxLN023jkH87 Qf6A== 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:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=RZDquuMPnN0R318RPoplksSJ/Om+A7coEg8w813LMFU=; b=esWfONjxI3k6FbCA8RFF2tLHFhq7hLJ23qfUD2Y7l53UZIMqO9Ah3P6Xa/SbTMz9BR UkHGtxKCkVd+ou8NFmljrZobn1gsHGfWB1DMt1AKn9PmwkrBHW2aoxqwfPPL5OVYj62O /WXauf+786QgO3GAyFwc1zjzbBIS3Ft36Yk4hpcCz6coLS4GmfA150btQ7Y0m2oMs1X+ 9ELgAZfHW8jrn97vcNA+qLhdfUyQhTztScJ6Zmdzm3vOB7y+LRRE14gSmInof1mDhr4y bammOakf86pp7DGASTobmLLupPRLSUBnOqURBqYXU1y+oTCZBrh+qxfyMFkcKXsAf0n7 wx0A== X-Gm-Message-State: APjAAAVZTWDPYmbw6uW3uCEcopVPIUJ52Ah3efJahbuAZTd+fNJWTA9C KEXOMyl5wQX1CWqRiMlFDwgyjJp9eEE= X-Google-Smtp-Source: APXvYqxkL9cQaHQoNKOBXWcHa+LcLYhK6GyIs57ogUT2PKh9yKIe2DyQ08trjLskC878zr2g2C+MQg== X-Received: by 2002:a5d:6a02:: with SMTP id m2mr1708075wru.120.1571216239563; Wed, 16 Oct 2019 01:57:19 -0700 (PDT) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id b186sm2382961wmd.16.2019.10.16.01.57.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2019 01:57:18 -0700 (PDT) In-Reply-To: <87eezdpjh4.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 16 Oct 2019 03:28:07 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::442 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:241083 Archived-At: >>>>> On Wed, 16 Oct 2019 03:28:07 +0200, Lars Ingebrigtsen said: Lars> Juri Linkov writes: >> This would be the best option: in case of the number of stashes more >> than some limit maybe defined by the numeric value of 'vc-git-show-s= tash' >> with the default value of 1, add the toggle button "[Show all stashe= s]". Lars> Yes, that'd be great. I periodically have a whole bunch of stash= es in Lars> my Emacs repo, and toggling the list interactively would be the b= est Lars> solution, I think. OK, I=CA=BCll rework the patch a bit. I=CA=BCve also discovered that vc-dir= has commands for manipulating stashes, so limiting it to eg 5 would help me (those commands are only bound when you=CA=BCre in the stash list, which is why I never noticed them). Robert