unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: carlosjosepita@gmail.com, 18793@debbugs.gnu.org
Subject: bug#18793: 24.4; zero width rectangular selection displaces text
Date: Wed, 22 Oct 2014 20:55:56 -0400	[thread overview]
Message-ID: <jwvzjcnfw45.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <83h9yw80hg.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 22 Oct 2014 20:42:35 +0300")

> You could change the cursor to a vertical bar, and change its color to
> match the color of the region.

The main use is not when the rectangle is completely empty (i.e. when
mark = point) but when the rectangle has 0 width, so you see where the
mark is and you see on each line the 0-width boundary of the rectangle.

So changing the cursor doesn't quite give me what I want.

> Another possibility is to make a composition of the character at point
> and some zero-width character (which we display as a thin space).

Hmm... that's a possibility.  Sounds costly (compared to "draw a line"),
but maybe it could work.


        Stefan





  reply	other threads:[~2014-10-23  0:55 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-22 14:32 bug#18793: 24.4; zero width rectangular selection displaces text Carlos Pita
2014-10-22 17:29 ` Stefan Monnier
2014-10-22 17:42   ` Eli Zaretskii
2014-10-23  0:55     ` Stefan Monnier [this message]
2022-05-05 13:16 ` Lars Ingebrigtsen
2022-05-05 16:34   ` Eli Zaretskii
2022-05-05 17:51     ` Drew Adams
2022-05-06 10:26     ` Lars Ingebrigtsen
2022-05-06 10:47       ` Eli Zaretskii
2022-05-06 11:05         ` Lars Ingebrigtsen
2022-05-06 11:06           ` Lars Ingebrigtsen
2022-05-06 11:19           ` Eli Zaretskii
2022-05-06 11:33             ` Lars Ingebrigtsen
2022-05-06 11:44               ` Eli Zaretskii
2022-05-06 12:52                 ` Lars Ingebrigtsen
2022-05-06 13:50                   ` Eli Zaretskii
2022-05-07 10:11                     ` Lars Ingebrigtsen
2022-05-07 10:18                       ` Lars Ingebrigtsen
2022-05-07 10:28                         ` Eli Zaretskii
2022-05-07 10:27                       ` Eli Zaretskii
2022-05-06 14:50                 ` Drew Adams
2022-06-02 19:19                   ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-03  0:30                     ` Drew Adams

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=jwvzjcnfw45.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=18793@debbugs.gnu.org \
    --cc=carlosjosepita@gmail.com \
    --cc=eliz@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).