From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Newsgroups: gmane.emacs.bugs Subject: bug#24030: 25.0.95; mouse-drag-region regression Date: Fri, 22 Jul 2016 00:09:22 -0600 Message-ID: <871t2mw6el.fsf@gmail.com> References: <87y44x2s7v.fsf@gmail.com> <83wpkgz83a.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1469167829 26960 80.91.229.3 (22 Jul 2016 06:10:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2016 06:10:29 +0000 (UTC) Cc: 24030@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 22 08:10:18 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1bQTf5-0007Ud-0p for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Jul 2016 08:10:15 +0200 Original-Received: from localhost ([::1]:45283 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQTf3-0007kf-Vj for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Jul 2016 02:10:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQTew-0007iN-Ai for bug-gnu-emacs@gnu.org; Fri, 22 Jul 2016 02:10:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQTes-0001EI-32 for bug-gnu-emacs@gnu.org; Fri, 22 Jul 2016 02:10:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQTes-0001EE-0E for bug-gnu-emacs@gnu.org; Fri, 22 Jul 2016 02:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bQTer-0006Wf-Mi for bug-gnu-emacs@gnu.org; Fri, 22 Jul 2016 02:10:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Jul 2016 06:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24030 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24030-submit@debbugs.gnu.org id=B24030.146916777425035 (code B ref 24030); Fri, 22 Jul 2016 06:10:01 +0000 Original-Received: (at 24030) by debbugs.gnu.org; 22 Jul 2016 06:09:34 +0000 Original-Received: from localhost ([127.0.0.1]:60713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bQTeQ-0006Vj-7T for submit@debbugs.gnu.org; Fri, 22 Jul 2016 02:09:34 -0400 Original-Received: from mail-io0-f180.google.com ([209.85.223.180]:33356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bQTeO-0006VW-4C for 24030@debbugs.gnu.org; Fri, 22 Jul 2016 02:09:32 -0400 Original-Received: by mail-io0-f180.google.com with SMTP id 38so96938580iol.0 for <24030@debbugs.gnu.org>; Thu, 21 Jul 2016 23:09:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version; bh=LSoemPpL0krk7CzgMi9iGyLboUB+c/KtVFgHSn79KuE=; b=aq/IossG3Dx3/U83WCS93V2gKDcIwL0nDf3qcBfIf0Nqy3hVldUY0OhiSt7S5HcZwy CzA0DUTR3RJDg7k1dt8R9OEZqrJFIFsTiYd5wonK2KuE6VnfGlttISaxOxlfQsSoL7QS AF2VSimHYZBm9pVTuUbe0967So+ITUPJicgxMHcdtJXVPKjnwp6vR+awTL7945Qj/yiL 8QTep5NIDu0ka9kliZGF2QuNiBpMUxLihw/Rs3CG3f0m8Bm6YyNL7R+J8uk/zylyOL6W /S6KkUFYxof44MZ8ownbEutDnxawvWQDwz2vlZDay79WDPBGCYH+QUcrxv+Z3Rks/47M Dl+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version; bh=LSoemPpL0krk7CzgMi9iGyLboUB+c/KtVFgHSn79KuE=; b=m3USS/KHt0whKSjaMRUMvCNABWik6tRHevEQlBwRJPhsdeeCa6E+GIIJDGmwL9Z/bh CM4xOOToxG6FNOlhrFcvonJ/XxF0n+Ud1VnUR6h3uvgAkQ4CsqinC49LWDkoocRYkFqB e4C/kHsjcNOCCYxmjrVkI3BhdWeyxwW3YI50arF+lN27JrXeT387h4nwL+6YP0sOeiKj P+RX2ySh4kMQ6h3mOiKigkkixcgoxBp+uxmEsG2WF6hhbhG+N82J1GTNaB9pqy/V1dOo LskDSIZf64JhbjgPjwYvKgMa0+jdLVPAjmsBo1M44wtuaelAGKw338/q+oRuuZH9wzSR q+KQ== X-Gm-Message-State: AEkoouusozzBIeqF9SkfBcTZCBECSByNqmJNoSG16mFkM2uVQZJCd1KjR2Pw8ar2iFz9Qw== X-Received: by 10.107.18.32 with SMTP id a32mr2861690ioj.12.1469167766580; Thu, 21 Jul 2016 23:09:26 -0700 (PDT) Original-Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88]) by smtp.gmail.com with ESMTPSA id b89sm5054622iod.30.2016.07.21.23.09.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jul 2016 23:09:26 -0700 (PDT) In-Reply-To: <83wpkgz83a.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 20 Jul 2016 17:40:09 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:121401 Archived-At: Eli Zaretskii writes: > More accurately, it's not the window that was never the selected one, > it's the buffer that is displayed in it. Ah, I see. > And mark-active is nil because some code > that I was unable to track down sets deactivate-mark to non-nil, so > the command loop deactivates the mark. It appears that it's somewhere within select-window or something it calls. After posn-set-point calls select-window in 24.5, deactivate-mark is nil -- but it's t in 25.1. #+BEGIN_SRC elisp (defun test () (message "before: %s" deactivate-mark) (select-window (cadr (window-list))) (message "after: %s" deactivate-mark)) #+END_SRC In the case where the target window contains the new help buffer, deactivate-mark will be nil in 24.5 and t in 25.1. > Thanks.