From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruce Korb Newsgroups: gmane.emacs.bugs Subject: bug#12750: Highlighting text no longer works Date: Mon, 29 Oct 2012 05:02:25 -0700 Message-ID: References: <508D5A4D.3020604@gmail.com> <83objm8ry1.fsf@gnu.org> <87liepejc3.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1351512233 14038 80.91.229.3 (29 Oct 2012 12:03:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Oct 2012 12:03:53 +0000 (UTC) Cc: 12750@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 29 13:04:02 2012 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 1TSo4X-00076j-EL for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Oct 2012 13:04:01 +0100 Original-Received: from localhost ([::1]:40121 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSo4P-0004Vv-7x for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Oct 2012 08:03:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSo4H-0004U8-1y for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2012 08:03:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSo49-0003cq-7w for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2012 08:03:44 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSo49-0003cm-3X for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2012 08:03:37 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TSo6U-0000lD-2J for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2012 08:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Bruce Korb Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Oct 2012 12:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12750 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12750-submit@debbugs.gnu.org id=B12750.13515123172864 (code B ref 12750); Mon, 29 Oct 2012 12:06:02 +0000 Original-Received: (at 12750) by debbugs.gnu.org; 29 Oct 2012 12:05:17 +0000 Original-Received: from localhost ([127.0.0.1]:37582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TSo5k-0000k8-Gi for submit@debbugs.gnu.org; Mon, 29 Oct 2012 08:05:16 -0400 Original-Received: from mail-ob0-f172.google.com ([209.85.214.172]:39419) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TSo5h-0000jz-Di for 12750@debbugs.gnu.org; Mon, 29 Oct 2012 08:05:14 -0400 Original-Received: by mail-ob0-f172.google.com with SMTP id v19so4267174obq.3 for <12750@debbugs.gnu.org>; Mon, 29 Oct 2012 05:02:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=z+KhbAlpkcJ5bEVM+RtaFe2JxjjF9G3tb5s39iMkAvs=; b=LobcKQV7jUvjN2PTbZE/t2fTHKkg+v0pu5g+rpUXY+IyFsQ8HEMlleFfR/tEcgs3/q obXs3cuEa2ku5pNLNO0irN/QkTdc8TAk5XyoQhfUuCe3mcS996qJgDUH6Nr8TnOTnQv4 Q1nENw8aq+DIQGivXw8dAM9znjD5tGidN2BWn6eW8k8/qJvAhJjNkzMbbymO9J+8URMY TWMy8519S6D40ps5kpJhmQcy/n7M+nIt0N+l/R9tcThhM4oDkkRkSNfJKLglPa2WHomv vZkHVLayPoIQtAnd+Ye82NX2Ur1n14MTNY+osQYmAdRpvY4Z9WPBiD6hUopQhkRBSmK0 2rKA== Original-Received: by 10.182.69.73 with SMTP id c9mr24330289obu.33.1351512165909; Mon, 29 Oct 2012 05:02:45 -0700 (PDT) Original-Received: by 10.76.69.39 with HTTP; Mon, 29 Oct 2012 05:02:25 -0700 (PDT) In-Reply-To: <87liepejc3.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:66187 Archived-At: Hi Chong, On Mon, Oct 29, 2012 at 2:08 AM, Chong Yidong wrote: > Bruce Korb writes: > >>> (setq select-active-regions nil) >>> (setq mouse-drag-copy-region 't) >>> (setq x-select-enable-primary 't) >>> (setq x-select-enable-clipboard nil) >>> (global-set-key [mouse-2] 'mouse-yank-at-click) >> >> I do need explicit instructions. This didn't work. I want to >> highlight and paste and highlight and yank. Both and. This isn't >> working. > > You have to be more specific than that. With a .emacs file, your > previous recipe > >> 1. left click the end of some text >> 2. right click the start of some text >> 3. alt-shift-5 ctl-y (query replace followed by paste) > > does indeed yank the text into the minibuffer. Hmm. OK, I use this many ways. Sometimes, I click button 2, sometimes I type Ctl-Y. Either way, I am very habituated to the selected text being pasted. I want to avoid having to remember Ctl-W/Ctl-C *ESPECIALLY* because I don't even have Cmd-C working on my Mac. I have to use the pull down menu to access "edit->copy". That becomes especially interesting when my mouse crosses other emacs windows because if the mouse touches one of them, then the selected text is no longer current and "edit->copy" grabs a different block of text. So, here's what I want: I want the selected text to be inserted into all buffers that relate to pasting of any sort. If Mouse-2 and Ctl-Y refer to different buffers, then both buffers should have the selected text. How do I do this? Thank you so much!! Regards, Bruce