emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] customizing initial sequence number in cua-rectangle


From: Lars Ingebrigtsen
Subject: Re: [PATCH] customizing initial sequence number in cua-rectangle
Date: Thu, 13 Jan 2022 08:04:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Daniel Fleischer <danflscr@gmail.com> writes:

> I'm using CUA rectangle mode a lot, mainly for fixing indentation and to
> insert sequence of numbers for converting texts into numbered lists in
> orgmode. The default initial number is 0 and you can input 1.

Ah, right.  A zero-based default is perhaps not the most useful for most
people?

> But then you do it a bunch of times and wonder why is it not
> customizable. For example there is a format variable for the sequence
> "%d" and it has a history mechanism so if you change it, it's ready for
> the next time in a given session.
>
> I thought it's too complicated to have a history for the initial value
> and just customizing it would be simpler. That's the purpose of the
> patch.

Right.  But perhaps it'd be even more useful if it updated the value
from what the user answered?  If the user answered "1" once, then it
sounds likely that that's what the user wants next time, too, isn't it?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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