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 15:24:34 +0300 Message-ID: <83y1tvvksd.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> <83bkqsvx18.fsf@gnu.org> <87y1tvub1k.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8666"; 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 14:25:12 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 1ofgz2-000222-Kk for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 14:25:12 +0200 Original-Received: from localhost ([::1]:44046 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofgz1-0008U8-A7 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 08:25:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofgys-0008Sf-Su for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 08:25:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofgys-00065P-Io for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 08:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ofgys-0006n8-5r for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 08:25: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 12:25: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.166488629026081 (code B ref 57400); Tue, 04 Oct 2022 12:25:02 +0000 Original-Received: (at 57400) by debbugs.gnu.org; 4 Oct 2022 12:24:50 +0000 Original-Received: from localhost ([127.0.0.1]:52818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofgye-0006mZ-VQ for submit@debbugs.gnu.org; Tue, 04 Oct 2022 08:24:50 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofgya-0006mI-Eb for 57400@debbugs.gnu.org; Tue, 04 Oct 2022 08:24:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59206) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofgyU-000571-Fr; Tue, 04 Oct 2022 08:24:38 -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=HA7+mlf+O3GkiLJRZ0vgipg85QUHgATnMfIN8HLHm+w=; b=Zjx6Aywx/CFg QHoVE13uw16f+qOdQM5UTiVZi450de5frc4cL75yrLVfK9vyJ4M79YqTg90/3SKsEeoCbSY/meSoK l1j93Oe/G4BxSl9A1Chb9jAcgRoQaDoG7wB4Pi7QIymqWEc2l7AmeS6yQJn9S7SraK5VsZOIkttoh 6BNp5fR+CEqo+HKfpbVgYWlOfVfKofWPYiO22xK1qpp++1a3HeLRQnOApP5Vv1mS3CoFDojdtsquy SWt+eid+30DYDd5yy4diGEu5+gby7kqssc1EXEmqbgxEqCgJq7pkPQsSkGh1E9ouPTHoaotNCXpVn 2ISpW4/aKzFR4tomSiuwqw==; Original-Received: from [87.69.77.57] (port=3845 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 1ofgyT-0007ny-UO; Tue, 04 Oct 2022 08:24:38 -0400 In-Reply-To: <87y1tvub1k.fsf@posteo.net> (message from Philip Kaludercic on Tue, 04 Oct 2022 10:40:23 +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:244419 Archived-At: > From: Philip Kaludercic > Cc: larsi@gnus.org, 57400@debbugs.gnu.org, ane@iki.fi > Date: Tue, 04 Oct 2022 10:40:23 +0000 > > Eli Zaretskii writes: > > > Can you ask more specific questions? Are you looking for a generic > > way of doing what message-goto-body does? > > Kind of, I would like to have some function that would place the point > at the beginning of the message body, no matter what MUA is used. From > what I see, the implicit assumption always is that a message is composed > in a single buffer where the headers are written out at the beginning of > the buffer, then there is some kind of to detect the end of the headers, > followed by the body. But what if a MUA wants to use a separate buffer > for the headers and the body, placing them in two separate windows? > What if the headers aren't shown at all? If I want to handle the > situation generically, it seems like I would have to take all the design > decisions into consideration. Do you happen to know about such MUAs? mail-user-agent currently supports just 4 MUAs: do any of them work like above? We could bite the bullet and make this operation a property of mail-user-agent, like 'composefunc' we already have (see the doc string of define-mail-user-agent for the full list). But if rfc822-goto-eoh can do the job, maybe it's "good enough"? > > If so, would > > rfc822-goto-eoh do the job? > > It doesn't seem to do the same, as in message-mode, it jumps to the > beginning of the "--text follows this line--" line, not to the line > after it. Well, moving one line after that, if this is the line you get to with that function, is easy. Don't all MUAs have that line?