From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: ma.jiehong@gmail.com, 12723@debbugs.gnu.org
Subject: bug#12723: 24.2; Improvement: changing text rectangle kill/past and its integration with the kill-ring
Date: Wed, 24 Oct 2012 22:22:20 -0400 [thread overview]
Message-ID: <jwvzk3bwaza.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <83625zbljf.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 24 Oct 2012 23:35:48 +0200")
> How would such a rectangular highlighting behave when some of the text
> in the region is R2L and some L2R? Will it select text in visual
> order or in logical (buffer) order?
The rectangle operations do not currently pay attention to this (they
work on logical order) and the highlighting would do the same since the
highlighting is there to make visible what the rectangle operations
would/will do.
> Anyway, doing this kind of stuff in Lisp is not trivial even if we
> disregard the bidirectional text issue, because variable-size fonts,
> double-width characters, composed characters, display strings, and
> other display atrocities complicate the 1:1 relation between buffer
> text and what's on the glass.
Similarly, variable-width fonts and stuff would not require more work in
the highlighting than in kill-rectangle.
I'm not saying they're not relevant, but as long as kill-rectangle
doesn't take them into account, the highlighting shouldn't either.
Stefan
next prev parent reply other threads:[~2012-10-25 2:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-24 17:40 bug#12723: 24.2; Improvement: changing text rectangle kill/past and its integration with the kill-ring Jiehong Ma
2012-10-24 18:59 ` Stefan Monnier
2012-10-24 21:35 ` Eli Zaretskii
2012-10-25 2:22 ` Stefan Monnier [this message]
2012-10-25 3:56 ` Eli Zaretskii
2012-10-25 12:28 ` Stefan Monnier
2012-10-25 16:53 ` Eli Zaretskii
2012-10-25 18:33 ` Stefan Monnier
2012-10-25 19:43 ` Eli Zaretskii
2012-10-26 1:34 ` Stefan Monnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvzk3bwaza.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=12723@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=ma.jiehong@gmail.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.