GNU bug report logs - #18793
24.4; zero width rectangular selection displaces text

Previous Next

Package: emacs;

Reported by: Carlos Pita <carlosjosepita <at> gmail.com>

Date: Wed, 22 Oct 2014 14:17:01 UTC

Severity: normal

Tags: confirmed

Found in version 24.4

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: carlosjosepita <at> gmail.com, 18793 <at> debbugs.gnu.org
Subject: bug#18793: 24.4; zero width rectangular selection displaces text
Date: Wed, 22 Oct 2014 20:55:56 -0400
> 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




This bug report was last modified 3 years and 12 days ago.

Previous Next


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