From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleh Krehel Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] scratch/highlight-n-windows 6da5ca1 2/2: Set `mark-active' to selected window Date: Wed, 01 Apr 2015 20:38:02 +0200 Message-ID: <87d23nbsol.fsf@gmail.com> References: <20150331130427.20388.74881@vcs.savannah.gnu.org> <87d23otjmp.fsf@gmail.com> <87r3s3q0qp.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1427913808 12505 80.91.229.3 (1 Apr 2015 18:43:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Apr 2015 18:43:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 01 20:43:13 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YdNbc-0008CS-Jk for ged-emacs-devel@m.gmane.org; Wed, 01 Apr 2015 20:43:12 +0200 Original-Received: from localhost ([::1]:54563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdNbb-0007uo-Rk for ged-emacs-devel@m.gmane.org; Wed, 01 Apr 2015 14:43:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdNbY-0007uO-Jz for emacs-devel@gnu.org; Wed, 01 Apr 2015 14:43:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdNbV-00014k-Cc for emacs-devel@gnu.org; Wed, 01 Apr 2015 14:43:08 -0400 Original-Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:37391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdNbV-00014f-5x for emacs-devel@gnu.org; Wed, 01 Apr 2015 14:43:05 -0400 Original-Received: by wiaa2 with SMTP id a2so77628958wia.0 for ; Wed, 01 Apr 2015 11:43:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=nWfj18lToIG6v6zDzVI6dHHfzz1KRnE/3tLST1sZbrk=; b=OFBCu8UYUQ91lsjUDsYGksyj7b8K6JCu+d/hJ+1lRI/2F64iqLuDXwziDCOFOtJHea TmkF/M2/qv7kAx7Rq7Fm82TZ3w4XB49N5cjbdYYoDO1yjTnYW/J1cp4qtsrEpZEBySBD AwhWibj8hFblMGTrGqIInu4FBHPuixuhg+gP+z4C5ZTlHciqk3i5T5q+eHYWhlL/kw4C pp5Bqi/CC01g9XlQeoiZZj0io8qNhEjcOo9Y1LY6za1C6VPypYgqhUUEpGQyU9EpNpTS U2C+5mEOcaMu8PGIfBwPUFfilfEAaBUeCveb/S/4mP8giHilEtPka8vClaI4npuBtBz8 nRdg== X-Received: by 10.194.2.43 with SMTP id 11mr87074210wjr.104.1427913784486; Wed, 01 Apr 2015 11:43:04 -0700 (PDT) Original-Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by mx.google.com with ESMTPSA id a6sm4322161wiy.17.2015.04.01.11.43.03 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 01 Apr 2015 11:43:03 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Wed, 01 Apr 2015 14:27:49 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:184754 Archived-At: Stefan Monnier writes: >> Should I apply this change or wait until I figure out how to make the >> mark window-local? > > While trying it out I noticed that it introduces behavior which some > users will find unexpected: while the highlighting only happens in the > window where the mark was set, mark-active is non-nil in all windows > displaying that buffer, so the commands will behave according to > "the mark is active" while the user may think "it's not highlighted, so > the mark is not active". > > IOW, it's a cute hack, but I don't think it's right. Sorry. Of course, that was the point of the current change: just to get rid of the visual distraction. It's not going to get intuitive until the mark becomes window-local. But I would take not-annoying over non-intuitive any day though:) Oleh