[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: On the adoption of transient.el
From: |
Stefan Monnier |
Subject: |
Re: On the adoption of transient.el |
Date: |
Sun, 15 Aug 2021 21:35:15 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
John Yates [2021-08-15 17:57:27] wrote:
> On Sat, Aug 14, 2021 at 8:55 AM Óscar Fuentes <ofv@wanadoo.es> wrote:
>> Arthur Miller <arthur.miller@live.com> writes:
>> > The strategy is to stash save all buffers belonging to the project,
>> > stash everything, inclusive untracked files, and than checkout to the
>> > other branch. When checked back, the stash is applied back. I don't know
>> > if you have something like that in magit or if it is something generally
>> > desirable, but I always wanted something simple and dirty to be able to
>> > switch fast when I need it.
>>
>> How would Magit know that when you "return back" to a branch it must
>> apply a certain stash?
>
> Rather than use a stash I would have a script that does two things:
> * Creates an undo script for the next step
> * Saves everything important as a new commit on the current branch.
> This would include, among other things, all untracked files and the
> undo script mentioned in the first step.
When the users look at this outside of Magit, they'll be very confused,
I think. So, I think that the kind of functionality you're asking for
would be better implemented in Git than in Magit.
Stefan
- Re: On the adoption of transient.el, Rudolf Adamkovič, 2021/08/01
- Re: On the adoption of transient.el, T.V Raman, 2021/08/01
- Re: On the adoption of transient.el, Arthur Miller, 2021/08/01
- Re: On the adoption of transient.el, Jonas Bernoulli, 2021/08/03
- Re: On the adoption of transient.el, Arthur Miller, 2021/08/03
- Re: On the adoption of transient.el, Arthur Miller, 2021/08/13
- Re: On the adoption of transient.el, Óscar Fuentes, 2021/08/14
- Re: On the adoption of transient.el, Arthur Miller, 2021/08/14
- Re: On the adoption of transient.el, John Yates, 2021/08/15
- Re: On the adoption of transient.el, Arthur Miller, 2021/08/15
- Re: On the adoption of transient.el,
Stefan Monnier <=
- Re: On the adoption of transient.el, Arthur Miller, 2021/08/15
Re: On the adoption of transient.el, Arthur Miller, 2021/08/01
Re: On the adoption of transient.el, Philip Kaludercic, 2021/08/04
- Re: On the adoption of transient.el, Óscar Fuentes, 2021/08/04
- Re: On the adoption of transient.el, T.V Raman, 2021/08/04
- Re: On the adoption of transient.el, Jesse Millwood, 2021/08/04
- Re: On the adoption of transient.el, T.V Raman, 2021/08/04
- Re: On the adoption of transient.el, Arthur Miller, 2021/08/05
- Re: On the adoption of transient.el, Eric S Fraga, 2021/08/05
- Re: On the adoption of transient.el, Tim Cross, 2021/08/05