From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier 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 14:27:49 -0400 Message-ID: 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 1427912921 30600 80.91.229.3 (1 Apr 2015 18:28:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Apr 2015 18:28:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Oleh Krehel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 01 20:28:26 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 1YdNNJ-0006m3-0v for ged-emacs-devel@m.gmane.org; Wed, 01 Apr 2015 20:28:25 +0200 Original-Received: from localhost ([::1]:54521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdNNH-0002ed-NJ for ged-emacs-devel@m.gmane.org; Wed, 01 Apr 2015 14:28:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdNNE-0002eW-Aa for emacs-devel@gnu.org; Wed, 01 Apr 2015 14:28:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdNNA-0004qF-BN for emacs-devel@gnu.org; Wed, 01 Apr 2015 14:28:20 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]:44969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdNNA-0004ot-7y for emacs-devel@gnu.org; Wed, 01 Apr 2015 14:28:16 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id E00CE85DB4; Wed, 1 Apr 2015 14:28:13 -0400 (EDT) Original-Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 7710F1E5B8C; Wed, 1 Apr 2015 14:27:50 -0400 (EDT) Original-Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id B7AE5B40DB; Wed, 1 Apr 2015 14:27:49 -0400 (EDT) In-Reply-To: <87r3s3q0qp.fsf@gmail.com> (Oleh Krehel's message of "Wed, 01 Apr 2015 18:20:14 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 132.204.24.67 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:184753 Archived-At: > 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. Stefan