From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jonathan Groll Newsgroups: gmane.emacs.help Subject: Re: emacs24/gtk3 - how to mark rectangle of to primary selection? Date: Tue, 26 Jun 2012 20:29:33 +0200 Message-ID: <87sjdi3p0y.wl%lists@groll.co.za> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: dough.gmane.org 1340735389 28842 80.91.229.3 (26 Jun 2012 18:29:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Jun 2012 18:29:49 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 26 20:29:49 2012 Return-path: Envelope-to: geh-help-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 1SjaWH-00063Q-C9 for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Jun 2012 20:29:45 +0200 Original-Received: from localhost ([::1]:56690 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjaWH-0000h9-AH for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Jun 2012 14:29:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjaWB-0000h4-Tv for help-gnu-emacs@gnu.org; Tue, 26 Jun 2012 14:29:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjaWA-0006ok-0q for help-gnu-emacs@gnu.org; Tue, 26 Jun 2012 14:29:39 -0400 Original-Received: from mail.groll.co.za ([166.84.7.40]:43781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjaW9-0006hm-Sf for help-gnu-emacs@gnu.org; Tue, 26 Jun 2012 14:29:37 -0400 Original-Received: from mail.groll.co.za.groll.co.za (unknown [IPv6:::1]) by mail.groll.co.za (Postfix) with ESMTP id DBE805FEE3 for ; Tue, 26 Jun 2012 20:29:33 +0200 (SAST) In-Reply-To: User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/24.0 Mule/6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 166.84.7.40 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85487 Archived-At: On Tue, 26 Jun 2012 16:24:12 +0200, Paul K wrote: > Hallo. > > I tried to do it with cua-mode, but no luck. > > Have You got any ideas? You could do it step-wise: Kill a rectangle. set-mark-command (c-SPC) at one corner, kill-rectangle (C-x r k) at the opposite corner. Then undo (C-_) if you don't want the text to be lost. Then go to the scratch buffer and yank-rectangle (C-x r y). Then do whatever you normally do to highlight with the mouse etc to get it into the primary selection. Cheers, Jonathan -- jjg: Jonathan J. Groll : groll co za has_one { :blog => "http://bloggroll.com" } "Men always want to be a woman's first love. Women have a more subtle instinct: What they like is to be a man's last romance." ~ Oscar Wilde