unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Daniel Fleischer <danflscr@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] customizing initial sequence number in cua-rectangle
Date: Thu, 13 Jan 2022 10:56:50 +0200	[thread overview]
Message-ID: <834k683tf1.fsf@gnu.org> (raw)
In-Reply-To: <m2a6g0ywly.fsf@gmail.com> (message from Daniel Fleischer on Thu,  13 Jan 2022 08:32:09 +0200)

> From: Daniel Fleischer <danflscr@gmail.com>
> Date: Thu, 13 Jan 2022 08:32:09 +0200
> 
> Lars Ingebrigtsen <larsi@gnus.org> writes:
> 
> > What's the use case for that?  (cua-sequence-rectangle isn't a command
> > I've used before.)
> 
> 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.
> 
> 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.

Would it make sense to allow specifying the initial value via the
prefix arg?



  parent reply	other threads:[~2022-01-13  8:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-12 19:28 [PATCH] customizing initial sequence number in cua-rectangle Daniel Fleischer
2022-01-13  6:00 ` Lars Ingebrigtsen
2022-01-13  6:32   ` Daniel Fleischer
2022-01-13  7:04     ` Lars Ingebrigtsen
2022-01-13  7:17       ` Daniel Fleischer
2022-01-13  8:56     ` Eli Zaretskii [this message]
2022-01-13 10:15       ` Daniel Fleischer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=834k683tf1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=danflscr@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).