bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#57400: 29.0.50; Support sending patches from VC directly


From: Eli Zaretskii
Subject: bug#57400: 29.0.50; Support sending patches from VC directly
Date: Tue, 04 Oct 2022 11:00:03 +0300

> From: Philip Kaludercic <philipk@posteo.net>
> Cc: larsi@gnus.org,  57400@debbugs.gnu.org,  ane@iki.fi
> Date: Tue, 04 Oct 2022 07:10:15 +0000
> 
> Eli Zaretskii <eliz@gnu.org> 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?





reply via email to

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