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 #73 received at 18793 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Rudolf Adamkovič <salutis <at> me.com>, Eli Zaretskii
 <eliz <at> gnu.org>, Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: "carlosjosepita <at> gmail.com" <carlosjosepita <at> gmail.com>,
 "monnier <at> iro.umontreal.ca" <monnier <at> iro.umontreal.ca>,
 "18793 <at> debbugs.gnu.org" <18793 <at> debbugs.gnu.org>
Subject: RE: [External] : Re: bug#18793: 24.4; zero width rectangular
 selection displaces text
Date: Fri, 3 Jun 2022 00:30:42 +0000
> Drew Adams <drew.adams <at> oracle.com> writes:
> 
> > I suggested a simple solution that provides
> > feedback not only that an empty rectangle is
> > selected but continual feedback about any
> > rectangle selection.
> 
> I like the idea of using the mode line.
> 
> Then, what can one do with a zero-width region?  If just C-x r t, then
> we could (and should) indicate the region as multiple cursors, like
> other editors do.
> 
> Either way, +1 for no jiggle.

The answer is in `modeline-region.el', here:

https://www.emacswiki.org/emacs/download/modeline-region.el

It's described here:

https://www.emacswiki.org/emacs/ModeLineRegion

As for what indication you get for an empty but
active region: that's controlled by user option
`mlr-empty-region-flag'.  By default its value
is non-nil, which means that you see this in
the mode-line:

  0 lines, 0 chars

That's highlighted there with face `mlr-region',
which by default just inherits from face `region'.

If you customize the option to nil then you see
no mode-line indication that the region is empty
and activated.

(You still get the message "Mark set", of course,
when you use `C-SPC', so at least you get some
notification of that action.)

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.