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


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: carlosjosepita <at> gmail.com, Stefan Monnier <monnier <at> iro.umontreal.ca>,
 18793 <at> debbugs.gnu.org
Subject: Re: bug#18793: 24.4; zero width rectangular selection displaces text
Date: Fri, 06 May 2022 12:26:23 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> AFAIU, that's a feature: we are trying to indicate the existence of
> the selection, even though its width is zero.  Type "M-x
> describe-text-properties RET" at the first character.  The indication
> must take up some space on display, so it moves the following text to
> the right.

Yes.  Various things were suggested in the bug report, like a new
facility to draw a vertical line through a character, for instance, to
allow indicating stuff like this without the (very slightly) disturbing
horizontal shift.  I think that sounds like a good idea (and I could see
it being useful in general -- for instance, with a mode that indicates
the fill column, perhaps).

It doesn't sound very complicated to implement -- a new text/overlay
property, I guess?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

Previous Next


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