GNU bug report logs - #15796
24.3.50; rectangle-mark: Display issues in presence of TABs

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Sun, 3 Nov 2013 14:42:02 UTC

Severity: normal

Found in version 24.3.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 15796 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Jambunathan K <kjambunathan <at> gmail.com>
Cc: 15796 <at> debbugs.gnu.org
Subject: Re: bug#15796: 24.3.50;
 rectangle-mark: Display issues in presence of TABs
Date: Mon, 04 Nov 2013 09:01:15 -0500
> 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




This bug report was last modified 11 years and 259 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.