From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#902: select-active-regions only half-working Date: Sat, 06 Sep 2008 23:53:50 -0400 Message-ID: References: <48C21AD8.1060505@harpegolden.net> <48C2E68C.6060909@harpegolden.net> Reply-To: Stefan Monnier , 902@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220760473 8472 80.91.229.12 (7 Sep 2008 04:07:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Sep 2008 04:07:53 +0000 (UTC) Cc: 902@emacsbugs.donarmstrong.com To: David De La Harpe Golden Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 07 06:08:46 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 1KcBZt-0001eW-9K for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Sep 2008 06:08:45 +0200 Original-Received: from localhost ([127.0.0.1]:47529 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcBYt-0006l0-D6 for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Sep 2008 00:07:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcBYo-0006il-2W for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 00:07:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcBYn-0006hh-9f for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 00:07:37 -0400 Original-Received: from [199.232.76.173] (port=39032 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcBYm-0006hI-ON for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 00:07:36 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49742) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KcBYl-0002yf-W2 for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 00:07:36 -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 m8747VeC004852; Sat, 6 Sep 2008 21:07:32 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m87403sM001103; Sat, 6 Sep 2008 21:00:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 07 Sep 2008 04:00:03 +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.122075963931635 (code B ref 902); Sun, 07 Sep 2008 04:00:03 +0000 Original-Received: (at 902) by emacsbugs.donarmstrong.com; 7 Sep 2008 03:53:59 +0000 Original-Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m873ruRw031629 for <902@emacsbugs.donarmstrong.com>; Sat, 6 Sep 2008 20:53:57 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhwFAHPtwkhFxJRU/2dsb2JhbACBZbEHgWaBBw X-IronPort-AV: E=Sophos;i="4.32,349,1217822400"; d="scan'208";a="26466796" Original-Received: from 69-196-148-84.dsl.teksavvy.com (HELO ceviche.home) ([69.196.148.84]) by ironport2-out.teksavvy.com with ESMTP; 06 Sep 2008 23:53:50 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 7CA92B405D; Sat, 6 Sep 2008 23:53:50 -0400 (EDT) In-Reply-To: <48C2E68C.6060909@harpegolden.net> (David De La Harpe Golden's message of "Sat, 06 Sep 2008 21:22:36 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sun, 07 Sep 2008 00:07:37 -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:20267 Archived-At: >> 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. Whether it should or not is very debatable. Historically, Emacs has always reuqested the user to select with the mouse or use M-w for that, and I have seen no evidence that people usually expect Emacs to copy the region to the X11-selection more eagerly. Your suggestion might please some people, but I do not think it should be used by default. So I suggest you turn your code into a global minor mode. > 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 I'm not sure I understand. If it relates to the current code (as opposed to yours), then please post a separate bug report for it (and include a recipe, of course). Stefan