unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Phil Sainty <psainty@orcon.net.nz>
Cc: Michael Heerdegen <michael_heerdegen@web.de>, 55828@debbugs.gnu.org
Subject: bug#55828: Add command to edit a rectangle arbitrarily in a separate buffer
Date: Wed, 08 Jun 2022 09:58:55 +0300	[thread overview]
Message-ID: <868rq7myfs.fsf@mail.linkov.net> (raw)
In-Reply-To: <42925cc4927c79c1bf80ed4e3acf5581@webmail.orcon.net.nz> (Phil Sainty's message of "Tue, 07 Jun 2022 21:24:30 +1200")

> It sounds to me as if Michael's code does more than mine -- at minimum
> mine does not ask what to do with modified dimensions as described at
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55234#17 (I just use the
> original dimensions), so I'd be interested to see that.

As Michael pointed out, it could be based on string-edit,
so rectangle-edit could just call string-edit with the rectangle
as a string, and success-callback to replace the original rectangle
with the edited string.





  reply	other threads:[~2022-06-08  6:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-07  9:24 bug#55828: Add command to edit a rectangle arbitrarily in a separate buffer Phil Sainty
2022-06-08  6:58 ` Juri Linkov [this message]
2022-06-08  9:57   ` Phil Sainty
2022-06-08 16:18     ` Juri Linkov

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=868rq7myfs.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=55828@debbugs.gnu.org \
    --cc=michael_heerdegen@web.de \
    --cc=psainty@orcon.net.nz \
    /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).