From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Antoine Kalmbach Newsgroups: gmane.emacs.bugs Subject: bug#57400: 29.0.50; Support sending patches from VC directly Date: Thu, 25 Aug 2022 11:47:54 +0300 Message-ID: <84v8qgn1z9.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21889"; mail-complaints-to="usenet@ciao.gmane.io" To: 57400@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 25 11:32:22 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oR9Dp-0005U9-GZ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Aug 2022 11:32:21 +0200 Original-Received: from localhost ([::1]:44208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oR9Dk-0000GS-Ti for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Aug 2022 05:32:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oR8Xu-0006ax-GY for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2022 04:49:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59099) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oR8Xu-00022L-04 for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2022 04:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oR8Xt-0002MI-Rm for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2022 04:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Antoine Kalmbach Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Aug 2022 08:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57400 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16614172868944 (code B ref -1); Thu, 25 Aug 2022 08:49:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Aug 2022 08:48:06 +0000 Original-Received: from localhost ([127.0.0.1]:48848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oR8Wz-0002K8-7s for submit@debbugs.gnu.org; Thu, 25 Aug 2022 04:48:06 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:42372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oR8Ww-0002Jk-TJ for submit@debbugs.gnu.org; Thu, 25 Aug 2022 04:48:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oR8Ww-0006E6-Bv for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2022 04:48:02 -0400 Original-Received: from lahtoruutu.iki.fi ([185.185.170.37]:33554) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oR8Ws-0001uh-Uh for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2022 04:48:01 -0400 Original-Received: from thanatos (91-157-197-22.elisa-laajakaista.fi [91.157.197.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: ane) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 565221B00027 for ; Thu, 25 Aug 2022 11:47:55 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1661417275; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=G6m+ludGHLRgPmh0kbc8+oYvl0G2IIVpboBYRF8zyDg=; b=aT0QywCNCTd3SIj/v+2S4NNZDdH8Ya272KztMoiBVFpL3+gP/wI/XCkOgM2GUNVsFfC450 9YJu0nT/BHGXsJfO2tvuhvcosK5Kxztf7ZVujvksBzLncwAgbANG41QizCcqEmxcD8uSI+ z1lKreI6+kN3Tt/AWC4JVsQ/vXiMTym2jGyP+SjqTXepbddWjAa9ZcqEAItsT/OGzqkWQN bHkjoljZAtSx5umZiJF83KiqkoBPTeIvXb1zNGSfmVdWFYO8T2BH+hwABkjD3VE32jsq99 eAqWEqJyPiGirN+YnyKJqp8mS19nXviz98HDHem8cKiX+o0+PVHQiKsvTdd5WQ== ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1661417275; a=rsa-sha256; cv=none; b=BBssmeDSQvTZ6qQ9b/3mfECFvbvP1K5so1rZuH+dI9y2b96IeWpa38K8HtsqrsK2qzcVNk xXijJrHBMrjysFiZh2dfuQ3DenlHCxtkTn5AmzgvfqseVzNSnOmKcczhd7m9eCw45KZul+ kJ0OulCns4foXIAiJ6TQsITGsqJFuN2ZDSjz/JKdqw07qYoV5vsO+AwN2KmV8Q3CeRigHZ yW0Q7HcPudoPfCJNLxbtqaMXHlvfBGkq+aiYEGC4MAx5+zu22ddsIrGT1lgssBdKq7JeqC l9aB6cA7AcOXPqAgbkVur6q5aNzhHYJixSOOX2XSOG3/V8yPOzMaNzzzB0EY4w== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=ane smtp.mailfrom=ane@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1661417275; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=G6m+ludGHLRgPmh0kbc8+oYvl0G2IIVpboBYRF8zyDg=; b=c2tOC9CHp7O9AlRFgv3rHAcrCJ5M3ibUFe2ElRvt+oKzFIm5j0zCBfBLarv374I91ttosA qZNmjOzJ497bZr/f53u0sVJaPcDZTRz2OzcwRZ5lTGWQJ3RO57EIrpblovlq1TmdxIte/r Hn+07+OsiMbCThxdFjkX774VBjqLG2sU/ZYl0wCLSwBlgnMBjdtr58tyh4q68YoEjT0Po5 HVo79BENgo4GEM+ZH2Ir8R9MQ92GPpNBNIb56wU5+OKbXAQ0ahxneOkD0bsTs/sFpUpg6s kwXwuLFol9gGDbo+O+IBXaCG0QmozJRq4Oj8gr7KuZqZoJ0q1l5Kwv8IRgqMjA== Received-SPF: pass client-ip=185.185.170.37; envelope-from=ane@iki.fi; helo=lahtoruutu.iki.fi X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:240691 Archived-At: See the discussion here https://mail.gnu.org/archive/html/emacs-devel/2022-08/msg01059.html The idea would be to support sending patches using Emacs mail user agent capabilities directly from VC projects. This would depend on the chosen VC backend and whether it has support for email-based workflows in the first place. The reference implementation would be for Git. A command such as `vc-prepare-patch`, which would prompt for a Git revision range and then generate a set of .patch files. These then would be opened in the mail user agent configured in Emacs for sending. In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) of 2022-08-23 built on thanatos Repository revision: 67a15ce1564ce35ece24a19f00e03a36e0575746 Repository branch: master System Description: Fedora Linux 36 (Workstation Edition) Configured using: 'configure --with-x-toolkit=motif --with-json --with-native-compilation --with-pgtk --with-imagemagick --with-mailutils' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS XIM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8 Major mode: notmuch-hello Minor modes in effect: eros-mode: t electric-pair-mode: t global-corfu-mode: t corfu-mode: t marginalia-mode: t vertico-mode: t recentf-mode: t savehist-mode: t display-time-mode: t global-hl-line-mode: t global-auto-revert-mode: t winner-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tab-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t column-number-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/ane/.emacs.d/elpa/transient-20220806.2224/transient hides /usr/local/share/emacs/29.0.50/lisp/transient Features: (shadow emacsbug rfc2104 secrets dbus xml network-stream nsm mailalias textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check eudc-capf eudc cus-edit cus-start cus-load eudc-vars sort company-oddmuse company-keywords company-etags etags fileloop generator company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company notmuch notmuch-tree notmuch-jump notmuch-hello notmuch-show notmuch-print notmuch-crypto notmuch-mua notmuch-message notmuch-draft notmuch-maildir-fcc notmuch-address notmuch-company notmuch-parser format-spec notmuch-wash coolj goto-addr icalendar diary-lib diary-loaddefs cal-menu calendar cal-loaddefs notmuch-tag crm notmuch-lib notmuch-compat mm-view mml-smime smime gnutls dig mule-util mail-extr flyspell ispell smex ido eros checkdoc lisp-mnt noutline outline rainbow-mode color rainbow-delimiters paredit eldoc-box eglot array xref flymake-proc flymake thingatpt compile comint ansi-color project imenu jsonrpc ert pp ewoc debug backtrace advice find-func vc-hg vc-git diff-mode vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view pcvs-util vc vc-dispatcher bug-reference elec-pair corfu marginalia vertico recentf tree-widget wid-edit cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs hydra lv smtpmail message sendmail yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader diminish modus-operandi-theme modus-themes use-package-diminish edmacro kmacro use-package-bind-key bind-key easy-mmode use-package-ensure use-package-core savehist comp comp-cstr warnings icons rx cl-extra pcase finder-inf ace-window-autoloads avy-autoloads clj-refactor-autoloads cider-autoloads clojure-mode-extra-font-locking-autoloads clojure-mode-autoloads company-autoloads consult-autoloads corfu-doc-autoloads corfu-autoloads debbugs-autoloads diff-hl-autoloads diminish-autoloads edit-indirect-autoloads eglot-autoloads eldoc-box-autoloads eros-autoloads exec-path-from-shell-autoloads expand-region-autoloads flycheck-autoloads geiser-guile-autoloads geiser-impl help-fns radix-tree help-mode geiser-custom geiser-base geiser-autoloads gif-screencast-autoloads go-mode-autoloads google-c-style-autoloads graphviz-dot-mode-autoloads hl-todo-autoloads hydra-autoloads inflections-autoloads keycast-autoloads kind-icon-autoloads lv-autoloads magit-autoloads git-commit-autoloads magit-section-autoloads marginalia-autoloads markdown-mode-autoloads meson-mode-autoloads modus-themes-autoloads multiple-cursors-autoloads neotree-autoloads ninja-mode-autoloads notmuch-autoloads paredit-autoloads parseedn-autoloads parseclj-autoloads pinentry-autoloads pkg-info-autoloads epl-autoloads plantuml-mode-autoloads dash-autoloads queue-autoloads rainbow-delimiters-autoloads rainbow-mode-autoloads rust-mode-autoloads scss-mode-autoloads sesman-autoloads sly-asdf-autoloads popup-autoloads sly-macrostep-autoloads macrostep-autoloads sly-repl-ansi-color-autoloads sly-autoloads smex-autoloads spinner-autoloads ssh-config-mode-autoloads svg-lib-autoloads transient-autoloads tree-sitter-langs-autoloads tree-sitter-autoloads tsc-autoloads typescript-mode-autoloads use-package-autoloads bind-key-autoloads vertico-autoloads web-mode-autoloads wgrep-autoloads with-editor-autoloads info compat-autoloads yaml-mode-autoloads yasnippet-snippets-autoloads yasnippet-autoloads zig-mode-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile cconv url-vars time hl-line autorevert filenotify cl-loaddefs cl-lib winner ring rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 815238 428939) (symbols 48 32388 106) (strings 32 177583 63256) (string-bytes 1 5448488) (vectors 16 78687) (vector-slots 8 1356913 2880582) (floats 8 317 2125) (intervals 56 1817 7744) (buffers 1000 18)) -- Antoine Kalmbach