unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: 15796@debbugs.gnu.org
Subject: bug#15796: 24.3.50; rectangle-mark: Display issues in presence of TABs
Date: Mon, 04 Nov 2013 09:01:15 -0500	[thread overview]
Message-ID: <jwvbo20mfsm.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <87bo20psis.fsf@gmail.com> (Jambunathan K.'s message of "Mon, 04 Nov 2013 12:23:15 +0530")

> With the selection in that state, move the cursor right or left by one
> character.  The text or rather the display moves.  It is disconcerting
> to see the movement.  I count this as a bug.  WDYT...

In order to *display* the zero-width rectangle, I have to add
a (display-only) thin space, which does shift the rest of the text by
a few pixels.

We could make it customizable: either you see the zero-width rectangle
and you live with the corresponding "display moves", or you don't see
the zero-width rectangle.

Of course, there might be other ways to represent the rectangle that
don't suffer from this problem (e.g. only highlight the position of the
mark, but not the line between the mark and point).  If the display
engine offered a way to overlay (rather than insert) glyphs/graphics, we
would have more options.


        Stefan





  reply	other threads:[~2013-11-04 14:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-03  2:41 bug#15796: 24.3.50; rectangle-mark: Display issues in presence of TABs Jambunathan K
2013-11-04  3:07 ` Stefan Monnier
2013-11-04  6:53   ` Jambunathan K
2013-11-04 14:01     ` Stefan Monnier [this message]
2013-11-04 14:30       ` Jambunathan K
2013-11-04 16:37         ` 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

  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=jwvbo20mfsm.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=15796@debbugs.gnu.org \
    --cc=kjambunathan@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 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).