From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: On the adoption of transient.el Date: Sun, 31 Jul 2022 06:25:33 -0700 Message-ID: References: <3925d696-f742-6ac7-7a05-8b3faac6e819@inventati.org> Mime-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37833"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: juri@linkov.net, emacs-devel To: Manuel Uberti Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 31 15:26:25 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oI8xc-0009fs-TI for ged-emacs-devel@m.gmane-mx.org; Sun, 31 Jul 2022 15:26:24 +0200 Original-Received: from localhost ([::1]:47546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oI8xb-0004sI-AL for ged-emacs-devel@m.gmane-mx.org; Sun, 31 Jul 2022 09:26:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oI8ww-000473-1C for emacs-devel@gnu.org; Sun, 31 Jul 2022 09:25:42 -0400 Original-Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]:35441) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oI8wu-0007q7-EM for emacs-devel@gnu.org; Sun, 31 Jul 2022 09:25:41 -0400 Original-Received: by mail-pf1-x430.google.com with SMTP id c139so8344976pfc.2 for ; Sun, 31 Jul 2022 06:25:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc; bh=Y0Y6C5sJEFjnv8s+gvcTzokwQ20vuBm6Ey5sdoMJkOg=; b=LLQIabEdCLNdlcyuw9xOmVVVNShJ08kLRnIny20faq/ij91x0B7+FFsD4D1LFmV8cS PAEXBSxoxz840qQc90zvEWJdYDPilK8e6Ij7QLvNdfxTKbqegck8gE8vCfhuEY0QQQ5Z 1efLggjStOv5Apwg+oYilAoQeUNR48ubLkUvLj7VH+2/IzZquWHKQOxG6kC+Opa0oLil ECxXQ3L5KtxgXWNa+cGXQqq9oo+hhcbbcoHQNnvoSUq7/d9PfocB8PdQjDSuO2wif2Yi ezABh3BrCYdzPuUCVPDCBIXFWCcaoqeokGQPq6vmMDhaHlKZGkkBpzEx+TrgWhwCJdL3 ivVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc; bh=Y0Y6C5sJEFjnv8s+gvcTzokwQ20vuBm6Ey5sdoMJkOg=; b=PCEtvBCbiMDwJu0QHelmiMTu6scWVUa78yZPhpcG1XMMs7d+WpUnXPd3hiw2nuGcjK FLkZBbI/TvWriJXEiZ0qMK7HQmO5x768ZCWZLqe2sxZvt2dF0MDmM+UbKXiSdcvTjwjy M3vAHgMvuKg/79KXqLbxm34WCtLTPtDc6ZgpE8Co5Rju91ZvKaM7WJlBI2Uo3K7UYykh 2P3jTCWGaSXTFpAtjPc7+FL3W/w6v5FXU4Mqg+EdLzfCpr5JMbNJuSjNcv4V0z62SFNB Jg1xouteL66GjXTE4hFwR5kqn6ROEfBWsZtng52nWEdozzLMq27Le0dAVuepyXaOwgzG NQAA== X-Gm-Message-State: AJIora+6/wU25VVUWq0tT/2mGBoA0ERWyTUjEivAXix/KejDsory0ah6 9YRilC0vrfn7b62OY1WJTg2ADrrd0C/2J5D7 X-Google-Smtp-Source: AGRyM1u48BUFuWFudA9PXgLzSXiCrYEmvu/QZTCRstaYmaWEnPdwt9dbkKAzYrQ83cb/ARQFzAygCQ== X-Received: by 2002:a05:6a00:188e:b0:52a:b545:559f with SMTP id x14-20020a056a00188e00b0052ab545559fmr12207748pfh.18.1659273936798; Sun, 31 Jul 2022 06:25:36 -0700 (PDT) Original-Received: from raman9 (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id 130-20020a621488000000b0052d0aa54a88sm3277182pfu.181.2022.07.31.06.25.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Jul 2022 06:25:36 -0700 (PDT) In-Reply-To: <3925d696-f742-6ac7-7a05-8b3faac6e819@inventati.org> (Manuel Uberti's message of "Sun, 31 Jul 2022 09:08:25 +0000") Received-SPF: pass client-ip=2607:f8b0:4864:20::430; envelope-from=raman@google.com; helo=mail-pf1-x430.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:292919 Archived-At: Manuel Uberti 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 comm= and >> 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 --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =817=A94 Id: kg:/m/0285kf1 =950=DC8