From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 14 06:25:42 2011 Received: (at submit) by debbugs.gnu.org; 14 Sep 2011 10:25:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3mez-0008R0-Oo for submit@debbugs.gnu.org; Wed, 14 Sep 2011 06:25:42 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3mex-0008Qt-SM for submit@debbugs.gnu.org; Wed, 14 Sep 2011 06:25:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3maZ-0005yb-0M for submit@debbugs.gnu.org; Wed, 14 Sep 2011 06:21:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:38703) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3maY-0005yV-Rg for submit@debbugs.gnu.org; Wed, 14 Sep 2011 06:21:06 -0400 Received: from eggs.gnu.org ([140.186.70.92]:34351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3maX-00028a-QH for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2011 06:21:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3maW-0005yB-UD for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2011 06:21:05 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:58593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3maW-0005y7-LZ for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2011 06:21:04 -0400 Received: by pzk4 with SMTP id 4so2666598pzk.0 for ; Wed, 14 Sep 2011 03:21:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type; bh=eOYmHRzCM7tJ3+zja5e7BErMqnxwZlUc5Fz1rJ6qZJU=; b=HH2fjIxYsK+b0K9oNqd2NNZeu9dPYJHnI6RepJXTAwC/jfN/il7SP+hGJAF99RMpC6 AH0DIVKFSupJIpxjqozHieySBkNQJJ7NLZEdR4kcc7kgxoQIjORSgzofnE43iRdeAThl pn9zhyhDxthujhUOSsmg1FRXJDQ3mfuosH/qY= Received: by 10.68.28.199 with SMTP id d7mr150524pbh.142.1315995663632; Wed, 14 Sep 2011 03:21:03 -0700 (PDT) Received: from JAMBU-NETBOOK ([115.242.156.21]) by mx.google.com with ESMTPS id 4sm12765664pbk.5.2011.09.14.03.20.59 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Sep 2011 03:21:03 -0700 (PDT) From: Jambunathan K To: bug-gnu-emacs@gnu.org Subject: 24.0.50; (vc-git): After applying a stash, refresh of *vc-dir* is a must Date: Wed, 14 Sep 2011 15:50:42 +0530 Message-ID: <81aaa71l39.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) (vc-git): After applying a stash, refresh of *vc-dir* is a must. Currently I do this manually. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 14 07:14:16 2011 Received: (at 9503) by debbugs.gnu.org; 14 Sep 2011 11:14:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3nQ0-0003UP-Gt for submit@debbugs.gnu.org; Wed, 14 Sep 2011 07:14:16 -0400 Received: from mail-gx0-f170.google.com ([209.85.161.170]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3nPy-0003UH-P2 for 9503@debbugs.gnu.org; Wed, 14 Sep 2011 07:14:15 -0400 Received: by gxk27 with SMTP id 27so1698620gxk.29 for <9503@debbugs.gnu.org>; Wed, 14 Sep 2011 04:09:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=q8kALXw3NM6BCGeD7Al90/fwNqPFJPUOpQxz49Q7Qpc=; b=Oz9vw5Z9sPL4ZUPywwEm513q6g3tXoDZMfhmjTmIhQ2BA52qrb9eXFfhId2O/dfMeK DVnGUMN+Gf8AnyL5xLlCaaSUotYgYo29Q3FAabU3J7PM8J7yCW/QQuyC1SRKhsRk4vRL cEnVBN8x1Eabs1zl46YdbUVFudV5n6+fX/r2s= Received: by 10.68.33.39 with SMTP id o7mr3810885pbi.363.1315998581304; Wed, 14 Sep 2011 04:09:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.67.11 with HTTP; Wed, 14 Sep 2011 04:09:01 -0700 (PDT) In-Reply-To: <81aaa71l39.fsf@gmail.com> References: <81aaa71l39.fsf@gmail.com> From: Juanma Barranquero Date: Wed, 14 Sep 2011 13:09:01 +0200 Message-ID: Subject: Re: bug#9503: 24.0.50; (vc-git): After applying a stash, refresh of *vc-dir* is a must To: Jambunathan K Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 9503 Cc: 9503@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) > (vc-git): After applying a stash, refresh of *vc-dir* is a must. > > Currently I do this manually. Refreshing *vc-dir* can be slow. What if you apply several stashes consecutively? =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 14 14:23:18 2011 Received: (at 9503) by debbugs.gnu.org; 14 Sep 2011 18:23:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3u7B-0002qr-Kf for submit@debbugs.gnu.org; Wed, 14 Sep 2011 14:23:17 -0400 Received: from mail-yx0-f172.google.com ([209.85.213.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3u78-0002qj-Ql for 9503@debbugs.gnu.org; Wed, 14 Sep 2011 14:23:16 -0400 Received: by yxt33 with SMTP id 33so1551593yxt.3 for <9503@debbugs.gnu.org>; Wed, 14 Sep 2011 11:18:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=A6mmCtyxtXjKVJRc78KieNSrIWRR5aSJXgSKmbgSH7U=; b=pvwzHG6YwIAtszwpYATPiQHTAyOwmy1D2u/s2HSwXLvE0MpAp5uNDegeTmh0SumDgl LZA0Z92IuuzPmS4qMMk50tGxMY7kwUsDRRxtNs+GbTrSZ24ubo7+BEJd5NBJxBQ4A6Me u07FUk3BTRc/kXjwoh8MbrFCQEI6P8nKu7MCg= Received: by 10.68.44.3 with SMTP id a3mr417035pbm.227.1316024319924; Wed, 14 Sep 2011 11:18:39 -0700 (PDT) Received: from JAMBU-NETBOOK ([115.242.184.148]) by mx.google.com with ESMTPS id lv3sm15625601pbb.9.2011.09.14.11.18.28 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Sep 2011 11:18:38 -0700 (PDT) From: Jambunathan K To: Juanma Barranquero Subject: Re: bug#9503: 24.0.50; (vc-git): After applying a stash, refresh of *vc-dir* is a must References: <81aaa71l39.fsf@gmail.com> Date: Wed, 14 Sep 2011 23:48:04 +0530 In-Reply-To: (Juanma Barranquero's message of "Wed, 14 Sep 2011 13:09:01 +0200") Message-ID: <8139fz2dk3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 9503 Cc: 9503@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) Juanma Barranquero writes: >> (vc-git): After applying a stash, refresh of *vc-dir* is a must. >> >> Currently I do this manually. > > Refreshing *vc-dir* can be slow. What if you apply several stashes > consecutively? I would prefer to have some sort of visual feedback that confirms that the application of stash has succeeded. Otherwise I just keep staring at the screen hoping something would happen. I do have `vc-command-messages' set to t. I see OK in the echo area. If I turn that setting off the only visible feedback is the hour-glass->normal cursor. Under the absence of any visual cue in the echo area, I just keep staring at the screen. This has happened even after I filed this report. Do you think a prefix arg or a customization variable is in order? Couple of tangential remarks: 1. Any reason why `vc-git-stash-delete-at-point' runs `vc-dir-refresh'. (I believe this is an unwanted side-effect of stash menu sharing the same space as the modified file list) 2. I have been using vc-git for quite sometime (> 10 months) now. It's only a few days back that I realized that the stash lines have keymaps associated with them (I always thought that they were zombie informational lines). Anyway the stash lines could be highlighted if the point moves to that line or permanently use a different (keymap?) face. (I don't use mouse that often and I noticed the highlight behaviour only after doing a C-u C-x =3D) 3. Apropos applying several stashes, it seems that at some point in distant future someone would cookup a way to mark and re-order stashes (much like interactive rebase menu in the git command line). I think the most `intuitive' interface for re-ordering stashes would be killing and yanking (Think of C-k and C-y in gnus-topic mode). IMHO, In that case the current binding of using C-k to delete the stash would come in the way. You can close this bug if you think it is too frivolous. > =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 14 14:49:53 2011 Received: (at 9503) by debbugs.gnu.org; 14 Sep 2011 18:49:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3uWv-00053E-0x for submit@debbugs.gnu.org; Wed, 14 Sep 2011 14:49:53 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3uWp-000533-76 for 9503@debbugs.gnu.org; Wed, 14 Sep 2011 14:49:48 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p8EIjCto003193; Wed, 14 Sep 2011 14:45:12 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id E06CB13007E; Wed, 14 Sep 2011 14:45:11 -0400 (EDT) From: Stefan Monnier To: Jambunathan K Subject: Re: bug#9503: 24.0.50; (vc-git): After applying a stash, refresh of *vc-dir* is a must Message-ID: References: <81aaa71l39.fsf@gmail.com> <8139fz2dk3.fsf@gmail.com> Date: Wed, 14 Sep 2011 14:45:11 -0400 In-Reply-To: <8139fz2dk3.fsf@gmail.com> (Jambunathan K.'s message of "Wed, 14 Sep 2011 23:48:04 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3980=0 X-NAI-Spam-Version: 2.2.0.9286 : core <3980> : streams <681605> : uri <959490> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 9503 Cc: Juanma Barranquero , 9503@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > I would prefer to have some sort of visual feedback that confirms that > the application of stash has succeeded. Otherwise I just keep staring at > the screen hoping something would happen. Agreed. We should do our best to keep the *vc-dir* display up-to-date, and in the case in point we know the display to be out of date, so we're not doing our best. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 14 14:54:51 2011 Received: (at 9503) by debbugs.gnu.org; 14 Sep 2011 18:54:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3ubh-0005AS-PM for submit@debbugs.gnu.org; Wed, 14 Sep 2011 14:54:50 -0400 Received: from mail-yi0-f44.google.com ([209.85.218.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3ubd-0005AG-4Z for 9503@debbugs.gnu.org; Wed, 14 Sep 2011 14:54:46 -0400 Received: by yie12 with SMTP id 12so1577761yie.3 for <9503@debbugs.gnu.org>; Wed, 14 Sep 2011 11:50:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=sNaV549n/BRVpbcxGdYjwpMGSwQunAbxMj3oO/uaAPQ=; b=eRM3gLjKm78bt87O2V/Lhb65eGhOGeooB5xCAzl5U924SaQe+kPOPC6S4BurOxcrFT 4P9ezmZHVQbX7ETPPHfDkn6hSbxY31e5Sk7zAnwjnuLS+ESRp894jOf5woNRzXKnlvRw jgfOOM/o3omE57AtXdZ1Oc5GW8qj78iuWupo8= Received: by 10.68.37.35 with SMTP id v3mr428339pbj.296.1316026210196; Wed, 14 Sep 2011 11:50:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.67.11 with HTTP; Wed, 14 Sep 2011 11:49:30 -0700 (PDT) In-Reply-To: <8139fz2dk3.fsf@gmail.com> References: <81aaa71l39.fsf@gmail.com> <8139fz2dk3.fsf@gmail.com> From: Juanma Barranquero Date: Wed, 14 Sep 2011 20:49:30 +0200 Message-ID: Subject: Re: bug#9503: 24.0.50; (vc-git): After applying a stash, refresh of *vc-dir* is a must To: Jambunathan K Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 9503 Cc: 9503@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) On Wed, Sep 14, 2011 at 20:18, Jambunathan K wrote= : > I would prefer to have some sort of visual feedback that confirms that > the application of stash has succeeded. Otherwise I just keep staring at > the screen hoping something would happen. Agreed. > Do you think a prefix arg or a customization variable is in order? A prefix arg, for the case that you *don't* want the autoupdate, perhaps. Your case is surely more common that the one where the user wants to apply several stashes at once. As for the variable, it wouldn't be useful if you usually apply one stash, and in a few cases you want to apply several. > You can close this bug if you think it is too frivolous. No, not at all. I just wondered about the other use case, because it isn't uncommon for me. =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 00:40:50 2011 Received: (at 9503) by debbugs.gnu.org; 15 Sep 2011 04:40:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R43ko-0006we-FH for submit@debbugs.gnu.org; Thu, 15 Sep 2011 00:40:50 -0400 Received: from mail-yw0-f44.google.com ([209.85.213.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R43km-0006wX-HQ for 9503@debbugs.gnu.org; Thu, 15 Sep 2011 00:40:49 -0400 Received: by ywa6 with SMTP id 6so1851998ywa.3 for <9503@debbugs.gnu.org>; Wed, 14 Sep 2011 21:36:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=IDfpqtoJhnDlfkm7ag6kpUoTIWfqTPIrlt3BMEgXWoY=; b=v/Hd4AyY6KpmyVJ7KZisWb5Ywq/EmdD1jsURQMT6ER+/AWygjjoq3fATRxOhD91ZQI IArMfE+hmKyj/QwGsyInVOmXDvKpgLCGSaAcxYYAk6RNEpCEFUgt+2cpPiJItoQKlBja qOw573iAztLH4DjaNQzoQu2rhWpzM6Wk/C2VU= Received: by 10.68.17.232 with SMTP id r8mr1293334pbd.85.1316061371275; Wed, 14 Sep 2011 21:36:11 -0700 (PDT) Received: from JAMBU-NETBOOK ([115.184.110.102]) by mx.google.com with ESMTPS id p7sm19457100pbe.0.2011.09.14.21.36.06 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Sep 2011 21:36:10 -0700 (PDT) From: Jambunathan K To: Juanma Barranquero Subject: Re: bug#9503: 24.0.50; (vc-git): After applying a stash, refresh of *vc-dir* is a must References: <81aaa71l39.fsf@gmail.com> Date: Thu, 15 Sep 2011 10:05:55 +0530 In-Reply-To: (Juanma Barranquero's message of "Wed, 14 Sep 2011 13:09:01 +0200") Message-ID: <81zki6qv6c.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: 9503 Cc: 9503@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.8 (---) Juanma Barranquero writes: >> (vc-git): After applying a stash, refresh of *vc-dir* is a must. >> >> Currently I do this manually. > > Refreshing *vc-dir* can be slow. What if you apply several stashes > consecutively? Applying stash on a dirty tree produces the following error message from git: --8<---------------cut here---------------start------------->8--- "Cannot apply to a dirty working tree, please stage your changes" --8<---------------cut here---------------end--------------->8--- Even if one is applyin stashes serially, one HAS to always commit the stash before applying the next one.=20 > > =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 00:56:13 2011 Received: (at 9503) by debbugs.gnu.org; 15 Sep 2011 04:56:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R43zg-000887-Qd for submit@debbugs.gnu.org; Thu, 15 Sep 2011 00:56:13 -0400 Received: from mail-iy0-f172.google.com ([209.85.210.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R43zd-00087x-N8 for 9503@debbugs.gnu.org; Thu, 15 Sep 2011 00:56:10 -0400 Received: by iaby26 with SMTP id y26so782471iab.3 for <9503@debbugs.gnu.org>; Wed, 14 Sep 2011 21:51:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=6LtRYEIiaY801RyYocmCx5dXCkRJUfnKVIlFEYjqXVc=; b=I8Be0jD2gepT6pMp31jRX6wJK+fijdvot9Nzs6S+ojT1pUVzYnts3lIcH6zEhXaJa3 z+JJNVnTFCHLwu4Cw9GD5Hz3jBB91VLODdGCMolRUEempWXlN1DypR2v9PQg8RtcS4Mu DgvXauTgLRw5yS2q6sM7mFb6IJDufAFZyHHEg= Received: by 10.68.10.7 with SMTP id e7mr1299194pbb.202.1316062292356; Wed, 14 Sep 2011 21:51:32 -0700 (PDT) Received: from JAMBU-NETBOOK ([115.184.110.102]) by mx.google.com with ESMTPS id i3sm19463437pbg.10.2011.09.14.21.51.28 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Sep 2011 21:51:31 -0700 (PDT) From: Jambunathan K To: Juanma Barranquero Subject: Re: bug#9503: 24.0.50; (vc-git): After applying a stash, refresh of *vc-dir* is a must References: <81aaa71l39.fsf@gmail.com> <8139fz2dk3.fsf@gmail.com> Date: Thu, 15 Sep 2011 10:21:20 +0530 In-Reply-To: (Juanma Barranquero's message of "Wed, 14 Sep 2011 20:49:30 +0200") Message-ID: <81vcsuqugn.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: 9503 Cc: 9503@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.8 (---) Juanma Barranquero writes: > On Wed, Sep 14, 2011 at 20:18, Jambunathan K wro= te: > >> I would prefer to have some sort of visual feedback that confirms that >> the application of stash has succeeded. Otherwise I just keep staring at >> the screen hoping something would happen. > > Agreed. > >> Do you think a prefix arg or a customization variable is in order? > > A prefix arg, for the case that you *don't* want the autoupdate, > perhaps. Your case is surely more common that the one where the user > wants to apply several stashes at once. As for the variable, it > wouldn't be useful if you usually apply one stash, and in a few cases > you want to apply several. Considering that stashes cannot be applied on a dirty tree, refreshing the *vc-dir* would invariably follow (if one is committing from within Emacs) There seem to be only two options after a clean application of stash 1. Continue modify the working tree. 2. Commit the stash. May be the prefix arg could be used to mean (2) above? I am more likely to do (1) than (2). Now I believe there is a strong case for refreshing *vc-dir*. >> You can close this bug if you think it is too frivolous. > > No, not at all. I just wondered about the other use case, because it > isn't uncommon for me. > =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 03:38:45 2011 Received: (at 9503) by debbugs.gnu.org; 15 Sep 2011 07:38:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R46Wx-0003b9-Ci for submit@debbugs.gnu.org; Thu, 15 Sep 2011 03:38:45 -0400 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R46Wu-0003ay-95 for 9503@debbugs.gnu.org; Thu, 15 Sep 2011 03:38:41 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 5B5FF1C1DA15; Thu, 15 Sep 2011 09:34:02 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 0027F1C00156; Thu, 15 Sep 2011 09:34:01 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id InjaGxkXLBtG; Thu, 15 Sep 2011 09:34:01 +0200 (CEST) Received: from hase.home (ppp-88-217-116-28.dynamic.mnet-online.de [88.217.116.28]) by mail.mnet-online.de (Postfix) with ESMTP; Thu, 15 Sep 2011 09:34:01 +0200 (CEST) From: Andreas Schwab To: Jambunathan K Subject: Re: bug#9503: 24.0.50; (vc-git): After applying a stash, refresh of *vc-dir* is a must References: <81aaa71l39.fsf@gmail.com> <81zki6qv6c.fsf@gmail.com> X-Yow: NANCY!! Why is everything RED?! Date: Thu, 15 Sep 2011 09:34:02 +0200 In-Reply-To: <81zki6qv6c.fsf@gmail.com> (Jambunathan K.'s message of "Thu, 15 Sep 2011 10:05:55 +0530") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 9503 Cc: Juanma Barranquero , 9503@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Jambunathan K writes: > Applying stash on a dirty tree produces the following error message from > git: > > "Cannot apply to a dirty working tree, please stage your changes" > > Even if one is applyin stashes serially, one HAS to always commit the > stash before applying the next one. Only if the stashes overlap. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 04:12:54 2011 Received: (at 9503) by debbugs.gnu.org; 15 Sep 2011 08:12:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R4740-0005uu-On for submit@debbugs.gnu.org; Thu, 15 Sep 2011 04:12:54 -0400 Received: from mail-yx0-f172.google.com ([209.85.213.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R473x-0005uj-2d for 9503@debbugs.gnu.org; Thu, 15 Sep 2011 04:12:50 -0400 Received: by yxt33 with SMTP id 33so1917999yxt.3 for <9503@debbugs.gnu.org>; Thu, 15 Sep 2011 01:08:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=ETWCA+Sy29OYzOMvz2ecSa0U2x/J3Wd0FS8gWYvLutM=; b=qujzwYqV+ewGwWPZJEhEK7xUswRNyBAMrch7IQ5b+i801VYERzsQFRKWxzzcm+kikT Gi1N98/k88AWfNm7AWoIL/WH4vB/9bbnh7M6v26M4r59mZBCN3jCWM4CB9somI49qDK8 iuBex9L0nQVKcoQzfbnTPjmRJvvPzeHSJoe68= Received: by 10.68.35.8 with SMTP id d8mr1437411pbj.415.1316074090947; Thu, 15 Sep 2011 01:08:10 -0700 (PDT) Received: from JAMBU-NETBOOK ([115.241.119.204]) by mx.google.com with ESMTPS id i3sm20819416pbg.10.2011.09.15.01.08.02 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Sep 2011 01:08:09 -0700 (PDT) From: Jambunathan K To: Andreas Schwab Subject: Re: bug#9503: 24.0.50; (vc-git): After applying a stash, refresh of *vc-dir* is a must References: <81aaa71l39.fsf@gmail.com> <81zki6qv6c.fsf@gmail.com> Date: Thu, 15 Sep 2011 13:37:55 +0530 In-Reply-To: (Andreas Schwab's message of "Thu, 15 Sep 2011 09:34:02 +0200") Message-ID: <81pqj2kz38.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 9503 Cc: Juanma Barranquero , 9503@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) Andreas Schwab writes: > Jambunathan K writes: > >> Applying stash on a dirty tree produces the following error message from >> git: >> >> "Cannot apply to a dirty working tree, please stage your changes" >> >> Even if one is applyin stashes serially, one HAS to always commit the >> stash before applying the next one. > > Only if the stashes overlap. That is what I would have expected but that is not what I observed with a little test that stashed *two different* files on the same HEAD. My git version is 1.7.2.3. The release notes for git 1.7.5.1 has the following entry ,---- | * "git stash apply" used to refuse to work if there was any change in | the working tree, even when the change did not overlap with the | change the stash recorded. `---- So I would (favorably) assume that the above bug is also present in 1.7.2.3 version of git. I agree that I shouldn't have based my opinions on a buggy behaviour and trusted my instincts. Anyways, the maintainers have agreed to the change I requested. So the above note is only to clarify my eariler comments. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 14 13:42:13 2013 Received: (at control) by debbugs.gnu.org; 14 Mar 2013 17:42:13 +0000 Received: from localhost ([127.0.0.1]:54473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGCAP-0000I7-5Y for submit@debbugs.gnu.org; Thu, 14 Mar 2013 13:42:13 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:43236 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGCAN-0000Hz-HU for control@debbugs.gnu.org; Thu, 14 Mar 2013 13:42:12 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UGC9C-0004om-E3 for control@debbugs.gnu.org; Thu, 14 Mar 2013 13:40:58 -0400 Date: Thu, 14 Mar 2013 13:40:58 -0400 Message-Id: Subject: control message for bug 13960 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) forcemerge 9503 13960 From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 15 00:08:29 2013 Received: (at 9503-done) by debbugs.gnu.org; 15 Nov 2013 05:08:29 +0000 Received: from localhost ([127.0.0.1]:53616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhBdt-0002Jd-3o for submit@debbugs.gnu.org; Fri, 15 Nov 2013 00:08:29 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:59060) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhBdr-0002JF-5d for 9503-done@debbugs.gnu.org; Fri, 15 Nov 2013 00:08:27 -0500 Received: by mail-pa0-f41.google.com with SMTP id rd3so3125486pab.14 for <9503-done@debbugs.gnu.org>; Thu, 14 Nov 2013 21:08:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=J031GXewnaACqsprHRq7ZhAivpOG36ggI7TgI07VQ78=; b=XOoWi+PHHzasl3wd9DtBvuYmPCJeGAA9H8QOyctAz3M8cQwN/+seCzhxN5EAVKxAi2 BZNZl1CzaERbgkZ02WygQyUlTpJ2/uooFyXDFF5RaTMmtZ/N8XPbhGB19hEWRb7tJI4e uCcATJp9I8z7iAdvEH0RRsqlXJ/XPFJHOQty3EgFqadPLuVb4PN2AJQXJ3GY1SNpxw9H qbHI3N8OsZWGUrLafNmliNPz34mwTmXTlhbOQsfhLXsx/TD1/efiNqDgH59/GfE9ENMD KGjb4Zqqq1b8S4R9nfSBLF3Evcksm44L8gOOd6kxKz0ZGzgC2yA61gM0xFkElZSs3arf 7otw== X-Received: by 10.67.1.203 with SMTP id bi11mr5007850pad.137.1384492101654; Thu, 14 Nov 2013 21:08:21 -0800 (PST) Received: from debian-6.05 ([115.241.27.214]) by mx.google.com with ESMTPSA id at4sm1578176pbc.30.2013.11.14.21.08.19 for <9503-done@debbugs.gnu.org> (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Thu, 14 Nov 2013 21:08:21 -0800 (PST) From: Jambunathan K To: 9503-done@debbugs.gnu.org Subject: Re: bug#9503: 24.0.50; (vc-git): After applying a stash, refresh of *vc-dir* is a must References: <81aaa71l39.fsf@gmail.com> Date: Fri, 15 Nov 2013 10:38:06 +0530 In-Reply-To: <81aaa71l39.fsf@gmail.com> (Jambunathan K.'s message of "Wed, 14 Sep 2011 15:50:42 +0530") Message-ID: <87siuyi761.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 9503-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) OP here. Closed. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 15 03:06:34 2013 Received: (at control) by debbugs.gnu.org; 15 Nov 2013 08:06:34 +0000 Received: from localhost ([127.0.0.1]:53890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhEQD-00085P-FY for submit@debbugs.gnu.org; Fri, 15 Nov 2013 03:06:33 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:59536 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhEQA-00085H-Vn for control@debbugs.gnu.org; Fri, 15 Nov 2013 03:06:31 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1VhEQA-0007MV-6P for control@debbugs.gnu.org; Fri, 15 Nov 2013 03:06:30 -0500 Date: Fri, 15 Nov 2013 03:06:30 -0500 Message-Id: Subject: control message for bug 13960 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) unmerge 13960 reopen 13960 From unknown Sun Aug 10 05:12:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 13 Dec 2013 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator