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: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
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:42:35 +0300
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Date: Wed, 22 Oct 2014 13:29:30 -0400
> Cc: 18793 <at> debbugs.gnu.org
> 
> FWIW, I think the better option is to provide a way to draw a thin line
> that does not shift the rest of the text.

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

Another possibility is to make a composition of the character at point
and some zero-width character (which we display as a thin space).  The
display engine already supports compositions, so the only problem is
to create one that will look "right", and solve the color issue in
some reasonable way.

Yet another possibility is to have a new cursor type that would
display a small portion of the block in another color.  This does
require changes to C code, but they are relatively simple and
straightforward.




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.