From: Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc: Herbert Euler <herberteuler@hotmail.com>, emacs-devel@gnu.org
Subject: Re: Fixing rectangle operations
Date: Mon, 19 Dec 2005 04:24:49 +0200 [thread overview]
Message-ID: <20051219022449.GA79213@flame.pc> (raw)
In-Reply-To: <buovexq6d26.fsf@dhapc248.dev.necel.com>
On 2005-12-15 16:21, Miles Bader <miles.bader@necel.com> wrote:
> "Herbert Euler" <herberteuler@hotmail.com> writes:
> > The point is before 'long' in the first line. Vim documents
> > that if one want to insert 'very ' before these two 'long's,
> > it will ignore the short line. Hence the result is:
> >
> > This is a very long line
> > short
> > Any other very long line
>
> I dunno, vim's behavior seems kind of bizarre to me.
>
> Treating all lines as implicitly "blank extended" in rectangle
> operations seems much more natural (and _not_ doing so likely
> to cause a lot of user confusion).
Agreed,
I regularly use rectangle-mode to 'draw' boxes like:
+--------+
| |
| |
+--------+
With the current behavior of Emacs, I can start with:
+
+
and fill 'empty' areas with C-u ARG '-' and C-x r t.
Vim's behavior, on the other hand, is extremely annoying for this
sort of work, because I have to manually 'prefill' empty areas
with whitespace and then hit ^V to operate on the current rectangle.
FWIW, if there is a possibility of keeping the current Emacs
behavior and using C-u to switch to Vim's default, then I'd
really prefer that very much.
- Giorgos
prev parent reply other threads:[~2005-12-19 2:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-15 4:41 Fixing rectangle operations Herbert Euler
2005-12-15 5:02 ` Herbert Euler
2005-12-15 7:21 ` Miles Bader
2005-12-15 9:28 ` Mathias Dahl
2005-12-15 16:51 ` Stefan Monnier
2005-12-15 20:23 ` Lennart Borgman
2005-12-15 23:19 ` Johan Bockgård
2005-12-16 2:08 ` Herbert Euler
2005-12-16 13:14 ` Mathias Dahl
2005-12-16 18:20 ` Herbert Euler
2005-12-19 10:09 ` Mathias Dahl
2005-12-19 2:24 ` Giorgos Keramidas [this message]
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=20051219022449.GA79213@flame.pc \
--to=keramida@ceid.upatras.gr \
--cc=emacs-devel@gnu.org \
--cc=herberteuler@hotmail.com \
/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).