From: David Kastrup <dak@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: Transient Region Highlighting - an improvement over Transient Mark Mode.
Date: Wed, 02 Apr 2008 22:40:41 +0200 [thread overview]
Message-ID: <85k5jggfcm.fsf@lola.goethe.zz> (raw)
In-Reply-To: <87lk3w150k.fsf@anzu.internal.golden-gryphon.com> (Manoj Srivastava's message of "Wed, 02 Apr 2008 13:32:59 -0500")
Manoj Srivastava <srivasta@ieee.org> writes:
> On Wed, 02 Apr 2008 10:04:51 -0400, Stefan Monnier <monnier@iro.umontreal.ca> said:
>
>> Actually, they are not independent: the fact that the mark gets
>> "deactivated" every once in a while in TMM is crucial to making the
>> highlight bearable. Otherwise, it would *always* be highlighted.
>
> But then we go around and make the mark active again even when
> it is not. I think what we want is that the highlight is either on or
> not (having it on all the time will indeed make me want scratch my
> eyes out). I think we have conflated the highlight being visible and
> mark being active: we want the highlight to go on and off based on
> some actions.
>
> Even though newbies want to see the region visible, they are
> very confused about things like query replace not working like they
> do when there is no region highlight.
You are confusing an active mark with an active region. The latter
causes both highlighting and region-specific action. The former just
means that the region is _usable_, not that it is _active_.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next prev parent reply other threads:[~2008-04-02 20:40 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-01 15:19 Transient Region Highlighting - an improvement over Transient Mark Mode Alan Mackenzie
2008-04-01 16:06 ` Stefan Monnier
2008-04-01 17:49 ` Alan Mackenzie
2008-04-01 18:10 ` Luc Teirlinck
2008-04-01 18:18 ` Luc Teirlinck
2008-04-01 18:48 ` paul r
2008-04-01 19:04 ` Alan Mackenzie
2008-04-02 2:01 ` Mike Mattie
2008-04-02 0:57 ` Manoj Srivastava
2008-04-02 14:04 ` Stefan Monnier
2008-04-02 18:32 ` Manoj Srivastava
2008-04-02 20:40 ` David Kastrup [this message]
2008-04-01 17:08 ` Andreas Röhler
2008-04-01 17:16 ` Vincent Belaïche
2008-04-01 21:29 ` Mathias Dahl
2008-04-02 6:26 ` Jan Djärv
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85k5jggfcm.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).