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 18:20:14 +0200 Message-ID: <87r3s3q0qp.fsf@gmail.com> References: <20150331130427.20388.74881@vcs.savannah.gnu.org> <87d23otjmp.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1427905528 3012 80.91.229.3 (1 Apr 2015 16:25:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Apr 2015 16:25: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 18:25:28 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 1YdLSJ-0007Mf-Dj for ged-emacs-devel@m.gmane.org; Wed, 01 Apr 2015 18:25:27 +0200 Original-Received: from localhost ([::1]:53856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdLSI-0002UY-Hz for ged-emacs-devel@m.gmane.org; Wed, 01 Apr 2015 12:25:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdLSC-0002Ob-UJ for emacs-devel@gnu.org; Wed, 01 Apr 2015 12:25:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdLS7-00034L-Uk for emacs-devel@gnu.org; Wed, 01 Apr 2015 12:25:20 -0400 Original-Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:37886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdLS7-00030J-J2 for emacs-devel@gnu.org; Wed, 01 Apr 2015 12:25:15 -0400 Original-Received: by wiaa2 with SMTP id a2so73191764wia.0 for ; Wed, 01 Apr 2015 09:25:15 -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=ooEXicGvhbb8BsetqpNkdxPdEluWfQZR/poAtsGUqn0=; b=WXpzyrgGpkFxsMGnEuYFCpHfN7wJAozOZfgR7KfRgSZ61EcLoMtF3ByfRrYlSFgnQT cGyFYMzuappUu3e//Suuou+KI4hR/ZsiZvjwfkKTGk8FqqginkZlxjPJdiG9i0Yzld0c 2jDYrDQ/BEjacc1qjyxsRjlmou4BsjqSrKlvhNi1yAiSFNf0Jj7qzRfwILe3NBzZ72D5 x4gHuQ4MQ0Mde4lCXfezVaTPTFK0xqtaqO1i5gWwFp2rybSpooFd1uhmvTrXS18SUi3t niLZl+YJ2SkTa063NFga9LIv0AsqvVHkfxStkW+gWDiRvb11kgEZ2gATWKmTKuy3iIey rN9Q== X-Received: by 10.194.120.230 with SMTP id lf6mr84619433wjb.78.1427905514984; Wed, 01 Apr 2015 09:25:14 -0700 (PDT) Original-Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by mx.google.com with ESMTPSA id ey10sm26167410wib.2.2015.04.01.09.25.14 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 01 Apr 2015 09:25:14 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Wed, 01 Apr 2015 10:04:26 -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::22f 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:184742 Archived-At: Stefan Monnier writes: > Thanks. Looks OK. How does it behave? It behaves quite well: the selection in one window doesn't change when I update it in the other window. And there is nothing flashing when I click with the left mouse button. The only issue left is that when I move the mark in one window and switch, the mark is moved in the other window as well. And since the region wasn't updated in the other window, it's a sharp transition. Still, it's much better than the pre-patch behavior. Should I apply this change or wait until I figure out how to make the mark window-local? Oleh