From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#57400: 29.0.50; Support sending patches from VC directly Date: Tue, 04 Oct 2022 11:00:03 +0300 Message-ID: <83bkqsvx18.fsf@gnu.org> References: <84v8qgn1z9.fsf@iki.fi> <87h71zo3p8.fsf@posteo.net> <87sfljmgwz.fsf@posteo.net> <87y1twvima.fsf@posteo.net> <878rlw681a.fsf@gnus.org> <87r0zovbzr.fsf@posteo.net> <87mtacvag8.fsf@posteo.net> <83r0zow0nl.fsf@gnu.org> <87a66cukrs.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38237"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 57400@debbugs.gnu.org, ane@iki.fi To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 04 10:15:05 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 1ofd4z-0009mD-72 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 10:15:05 +0200 Original-Received: from localhost ([::1]:35124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofd4y-0002cx-1J for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 04:15:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofcrO-0004xS-Mz for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 04:01:10 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53282) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofcrO-000553-8a for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 04:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ofcrO-0005f8-1h for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 04:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Oct 2022 08:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57400 X-GNU-PR-Package: emacs Original-Received: via spool by 57400-submit@debbugs.gnu.org id=B57400.166487041721676 (code B ref 57400); Tue, 04 Oct 2022 08:01:02 +0000 Original-Received: (at 57400) by debbugs.gnu.org; 4 Oct 2022 08:00:17 +0000 Original-Received: from localhost ([127.0.0.1]:52355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofcqe-0005dX-GM for submit@debbugs.gnu.org; Tue, 04 Oct 2022 04:00:16 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofcqc-0005dD-LN for 57400@debbugs.gnu.org; Tue, 04 Oct 2022 04:00:15 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47286) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofcqX-0004qL-1M; Tue, 04 Oct 2022 04:00:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Kx/TzXHsD6qUEUBH/pPNxuj4aDvO9oFG5FLcXkcMYbo=; b=gI/e174fXg/w 0xeFx3doZEOspgk/n5MXCUdCGn3nNWjLKt+9v7j8+xezkIp8kuw3BoFZgavfK8ZcffD1key1gjKav ykajkUyMMnuVnHKYvrKgyrQ4Kq/8TyFai2otYj7bGO828iU3k1/DfQ4Ye5pUhDntq0hcWGPAqsdBw LqdSmfp+H0dOzR7fclGhv8KoKgFeIHqLHxffdml1SJziUSVmVLAN5zCd82jOUusvt6WTH7Tr1Igra 4bgbEpiB1CEcCeUg8Gn2GFs2JrIc7jrPnf2bapW1lF3Hy9DeOuPtv7hmyX8sayF/1NZWAjaUUPha6 ltpcUWtP6cjixYetWeNkpw==; Original-Received: from [87.69.77.57] (port=3244 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofcqW-0003Ik-8Y; Tue, 04 Oct 2022 04:00:08 -0400 In-Reply-To: <87a66cukrs.fsf@posteo.net> (message from Philip Kaludercic on Tue, 04 Oct 2022 07:10:15 +0000) 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:244372 Archived-At: > From: Philip Kaludercic > Cc: larsi@gnus.org, 57400@debbugs.gnu.org, ane@iki.fi > Date: Tue, 04 Oct 2022 07:10:15 +0000 > > Eli Zaretskii writes: > > >> + (compose-mail addressee > >> + (or (plist-get patch :subject) > >> + (concat > >> + "Patch for " ;guess > >> + (file-name-nondirectory > >> + (directory-file-name > >> + (vc-root-dir))))) > >> + nil nil nil nil > >> + `((exit-recursive-edit))) > >> + (message-goto-body) > > > > compose-mail doesn't necessarily invoke message.el functions, so > > message-goto-body is not necessarily appropriate here. > > Oh, I thought it was because `submit-emacs-patch' did the same. Again, > do you have any suggestions what else could be done to keep this > generic? Can you ask more specific questions? Are you looking for a generic way of doing what message-goto-body does? If so, would rfc822-goto-eoh do the job?