[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: On the adoption of transient.el

From: T.V Raman
Subject: Re: On the adoption of transient.el
Date: Sun, 31 Jul 2022 06:25:33 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Manuel Uberti <manuel.uberti@inventati.org> writes:

Also -- with repeat-mode in Emacs 28, many of the simpler transient
use-cases  might be better done with repeat --- and that might also
provide an opportunity / time-window to update transient to be more
consistent with the rest of emacs. Specifically, Transient is still a
bit of an outlier in how it handles point with respect to what the user
interacts with -->> Currently I'm finishing implementation of a new vc command
>> that will allow committing from a diff buffer.  So for
>> example, after displaying all changes with e.g. 'C-x v D'
>> you can remove some unneeded hunks (with e.g. 'M-k' 'diff-
>> hunk-kill'), then on the remaining hunks type 'C-c C-c' in
>> the diff buffer. It will create a usual *vc-log* buffer
>> where typing 'C-c C-c' will commit only changes from the
>> diff buffer.  Internally it works by running three git
>> commands:
>> `git stash push -m stash_name -- list_of_file_names_from_diff`
>> `cat diff_buffer.patch | git am` # should also handle return code
>> `git stash pop -q`
> Hi Juri,
> do you have any news on this command you were working on?
> Thanks



--Raman(I Search, I Find, I Misplace, I Research)
?7?4 Id: kg:/m/0285kf1  ?0?8

reply via email to

[Prev in Thread] Current Thread [Next in Thread]