all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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: Thu, 25 Oct 2012 14:33:31 -0400	[thread overview]
Message-ID: <jwvip9y8l29.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <83txtia3x8.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 25 Oct 2012 18:53:55 +0200")

> It's one thing to leave the rectangle to the user's imagination and
> mental models; it's quite another to actually show that to her.  It's
> quite possible the users today don't even bother looking what's
> between the two corners of the region.  With it highlighted, they
> don't have a chance.

There are several easy ways out:
- Let the user turn off highlighting.
- Let the user not look at the highlighting.
- Don't highlight if the text contains a mix of L2R and R2L (or just
  highlight it in a simpler way that only shows the position of the
  mark).

>> Really, this issue is a complete non-issue
> I obviously disagree.

Then, let's just say that it's a bridge I'm not willing to cross before
we actually get there.

>> we're talking about reflecting on screen what is about to happen, so
>> any problem "on screen" (i.e. in the highlighting) is really due to
>> what's actually going to happen, not to
> It's not carved in stone that a rectangular region must be highlighted
> in the same way as the "normal" region.

I think it should highlight the text actually selected, which doesn't
give us much leeway.

> We could come up with something different, that doesn't suffer from
> the directionality issues, for example.

Fine by me.  All I know is that the rectangle highlighting won't need
complex bidi-aware code.  At most it will have to detect that there's
bidi involved and fallback to another highlighting method.


        Stefan





  reply	other threads:[~2012-10-25 18:33 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
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 [this message]
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=jwvip9y8l29.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.