GNU bug report logs - #25454
25.1; improvement ftoopy-from-above-command

Previous Next

Package: emacs;

Reported by: Francesco Potortì <pot <at> gnu.org>

Date: Sun, 15 Jan 2017 20:01:01 UTC

Severity: wishlist

Found in version 25.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> gmail.com>
To: Francesco Potortì <pot <at> gnu.org>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 25454 <at> debbugs.gnu.org
Subject: bug#25454: 25.1; improvement ftoopy-from-above-command
Date: Sun, 01 Sep 2019 09:57:16 -0400
Francesco Potortì <pot <at> gnu.org> writes:

>>>Lars:
>>>>Seems a bit small for a separate package.  And the repeated call thing
>>>>could be useful in itself.  Couldn't the increment behaviour be enabled
>>>>by a non-numeric argument instead?
>
>>Francesco Potortì <pot <at> gnu.org> writes:
>>> What do you suggest?  Maybe M-3 M-p copies the next three characters,
>>> while C-u 3 M-p increments by three?
>
>>M-3 and C-u 3 do the same thing, I think?
>
> They normally do.  And they do in this case.  But it can be changed, and
> I was following up with your suggestion, with a proposal for a different
> user interface where M-3 and C-u 3 do different things.

No, both C-u 3 and M-3 will set the prefix argument to 3, so commands
cannot distinguish between them.  I know I suggested the numeric vs
non-numeric thing, but I think I was just confused about it.
Non-numeric arguments are only good for a single toggle (increment vs no
increment), not control over a amount (increment by X).  And you can't
express both at once (both increment and repeat).




This bug report was last modified 5 years and 322 days ago.

Previous Next


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