From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Transient Region Highlighting - an improvement over Transient Mark Mode. Date: Wed, 02 Apr 2008 22:40:41 +0200 Message-ID: <85k5jggfcm.fsf@lola.goethe.zz> References: <20080401151931.GA6533@muc.de> <87abkd2hw0.fsf@anzu.internal.golden-gryphon.com> <87lk3w150k.fsf@anzu.internal.golden-gryphon.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207168881 19465 80.91.229.12 (2 Apr 2008 20:41:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Apr 2008 20:41:21 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 02 22:41:53 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jh9mD-0001Hd-1m for ged-emacs-devel@m.gmane.org; Wed, 02 Apr 2008 22:41:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jh9la-0001sH-R8 for ged-emacs-devel@m.gmane.org; Wed, 02 Apr 2008 16:41:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jh9lO-0001hc-Fg for emacs-devel@gnu.org; Wed, 02 Apr 2008 16:40:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jh9lM-0001g8-Td for emacs-devel@gnu.org; Wed, 02 Apr 2008 16:40:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jh9lM-0001fz-P7 for emacs-devel@gnu.org; Wed, 02 Apr 2008 16:40:52 -0400 Original-Received: from mail-in-06.arcor-online.net ([151.189.21.46]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jh9lM-0005nz-I3 for emacs-devel@gnu.org; Wed, 02 Apr 2008 16:40:52 -0400 Original-Received: from mail-in-03-z2.arcor-online.net (mail-in-03-z2.arcor-online.net [151.189.8.15]) by mail-in-06.arcor-online.net (Postfix) with ESMTP id AB26031EAF2 for ; Wed, 2 Apr 2008 22:40:50 +0200 (CEST) Original-Received: from mail-in-06.arcor-online.net (mail-in-06.arcor-online.net [151.189.21.46]) by mail-in-03-z2.arcor-online.net (Postfix) with ESMTP id 9D0852D369A for ; Wed, 2 Apr 2008 22:40:45 +0200 (CEST) Original-Received: from lola.goethe.zz (dslb-084-061-103-192.pools.arcor-ip.net [84.61.103.192]) by mail-in-06.arcor-online.net (Postfix) with ESMTP id 7A9B535E71E for ; Wed, 2 Apr 2008 22:40:45 +0200 (CEST) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id BACFC1C46105; Wed, 2 Apr 2008 22:40:41 +0200 (CEST) In-Reply-To: <87lk3w150k.fsf@anzu.internal.golden-gryphon.com> (Manoj Srivastava's message of "Wed, 02 Apr 2008 13:32:59 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Virus-Scanned: ClamAV 0.92.1/6561/Wed Apr 2 19:35:22 2008 on mail-in-06.arcor-online.net X-Virus-Status: Clean X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:94228 Archived-At: Manoj Srivastava writes: > On Wed, 02 Apr 2008 10:04:51 -0400, Stefan Monnier 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