GNU bug report logs - #9503
24.0.50; (vc-git): After applying a stash, refresh of *vc-dir* is a must

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Wed, 14 Sep 2011 10:26:01 UTC

Severity: minor

Found in versions 24.0.50, 24.3

Done: Jambunathan K <kjambunathan <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jambunathan K <kjambunathan <at> gmail.com>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 9503 <at> debbugs.gnu.org
Subject: bug#9503: 24.0.50; (vc-git): After applying a stash, refresh of *vc-dir* is a must
Date: Thu, 15 Sep 2011 10:21:20 +0530
Juanma Barranquero <lekktu <at> gmail.com> writes:

> On Wed, Sep 14, 2011 at 20:18, Jambunathan K <kjambunathan <at> gmail.com> 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.

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.


>     Juanma




This bug report was last modified 11 years and 242 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.