GNU bug report logs - #58383
29.0.50; Make it easier to invert vc-prepare-patches-separately

Previous Next

Package: emacs;

Reported by: Sean Whitton <spwhitton <at> spwhitton.name>

Date: Sat, 8 Oct 2022 17:50:02 UTC

Severity: wishlist

Found in version 29.0.50

Done: Philip Kaludercic <philipk <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Sean Whitton <spwhitton <at> spwhitton.name>
To: Philip Kaludercic <philipk <at> posteo.net>
Cc: 58383 <at> debbugs.gnu.org
Subject: bug#58383: 29.0.50; Make it easier to invert vc-prepare-patches-separately
Date: Mon, 07 Nov 2022 16:06:29 -0700
Hello,

On Sun 09 Oct 2022 at 12:54PM GMT, Philip Kaludercic wrote:

> Sean Whitton <spwhitton <at> spwhitton.name> writes:
>
>> Hello,
>>
>> How about a prefix argument to vc-prepare-patch to invert one's usual
>> setting for vc-prepare-patches-separately?  Most people who contribute
>> to more than one project regularly will want to use both.
>
> How would this be preferable to setting `vc-prepare-patches-separately'
> as a directory local variable?  That way you don't have to remember to
> use a prefix argument whenever invoking `vc-prepare-patch'.

Makes sense.

>> On the other hand, having a numeric prefix argument mean "send patches
>> correspoding to the top N revisions of the current branch" would be very
>> convenient.  Perhaps these two could be combined by using a negative
>> number to mean also invert?
>
> This is the usual problem with numeric prefix arguments.  You don't get
> that much expressivity with just an integer.
>
> That is why I would hesitate to assign any particular interpretation to
> prefix arguments, before considering and weighing the options.

Well, any other options in mind?  Varying the -N argument to
git-format-patch/git-send-email is what I find myself using the most.

-- 
Sean Whitton




This bug report was last modified 2 years and 187 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.