From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David De La Harpe Golden Newsgroups: gmane.emacs.bugs Subject: bug#902: select-active-regions only half-working Date: Sat, 06 Sep 2008 21:22:36 +0100 Message-ID: <48C2E68C.6060909@harpegolden.net> References: <48C21AD8.1060505@harpegolden.net> Reply-To: David De La Harpe Golden , 902@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220734093 31564 80.91.229.12 (6 Sep 2008 20:48:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Sep 2008 20:48:13 +0000 (UTC) Cc: 902@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 06 22:49:08 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kc4iQ-0000Mt-0j for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Sep 2008 22:49:06 +0200 Original-Received: from localhost ([127.0.0.1]:49000 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kc4hQ-0001Bw-H0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Sep 2008 16:48:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kc4gy-0000xz-Pa for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 16:47:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kc4gx-0000x1-8y for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 16:47:36 -0400 Original-Received: from [199.232.76.173] (port=45761 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kc4gw-0000wu-VH for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 16:47:34 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45831) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kc4gw-0005Yf-HK for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 16:47:34 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m86KlVj4012368; Sat, 6 Sep 2008 13:47:32 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m86KU42A006002; Sat, 6 Sep 2008 13:30:04 -0700 X-Loop: don@donarmstrong.com Resent-From: David De La Harpe Golden Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 06 Sep 2008 20:30:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 902 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch Original-Received: via spool by 902-submit@emacsbugs.donarmstrong.com id=B902.12207325623925 (code B ref 902); Sat, 06 Sep 2008 20:30:04 +0000 Original-Received: (at 902) by emacsbugs.donarmstrong.com; 6 Sep 2008 20:22:42 +0000 Original-Received: from harpegolden.net (harpegolden.net [65.99.215.13]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m86KMd8D003919 for <902@emacsbugs.donarmstrong.com>; Sat, 6 Sep 2008 13:22:40 -0700 Original-Received: from golden1.harpegolden.net (86-43-162-117.b-ras2.prp.dublin.eircom.net [86.43.162.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTP id 9C19A81DE; Sat, 6 Sep 2008 21:22:38 +0100 (IST) User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) In-Reply-To: X-Enigmail-Version: 0.95.0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sat, 06 Sep 2008 16:47:36 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20252 Archived-At: Stefan Monnier wrote: >> The select-active-regions in-tree does not work in all cases - it works >> when the region is changed by moving the mark but not when it is changed >> by certain other means e.g. moving the point with the keyboard. >> (Workaround: C-x C-x C-x C-x ...). > > Could you be more precise and give an actual recipe? > With transient-mark-mode and select-active-regions on: Set mark. (C-SPC) Move point with keyboard, defining an active region. Try to middle-click-paste into another application (that accepts middle clicks to paste in primary, of course) Note that what is pasted in doesn't correspond to the active region. It should. Sorry, this was a known issue pre-bug-tracker, should really have been filed a long time ago: http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg00327.html (includes very similar patches that no longer apply cleanly) There might still be a related ordering issue in mouse-drag-track too, that caused annoying off-by-a-little-bit glitches when mouse-selecting: http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg00316.html