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

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.

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.

-- 

Daniel Fleischer




  reply	other threads:[~2022-01-13  6:32 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 [this message]
2022-01-13  7:04     ` Lars Ingebrigtsen
2022-01-13  7:17       ` Daniel Fleischer
2022-01-13  8:56     ` Eli Zaretskii
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=m2a6g0ywly.fsf@gmail.com \
    --to=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).