From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul K Newsgroups: gmane.emacs.help Subject: Re: emacs24/gtk3 - how to mark rectangle of to primary selection? Date: Tue, 26 Jun 2012 22:33:17 +0200 Message-ID: References: <87sjdi3p0y.wl%lists@groll.co.za> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1340742818 24788 80.91.229.3 (26 Jun 2012 20:33:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Jun 2012 20:33:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 26 22:33:34 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 1SjcS6-0001rs-Co for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Jun 2012 22:33:34 +0200 Original-Received: from localhost ([::1]:35832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjcS6-00011y-A4 for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Jun 2012 16:33:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjcRy-00011l-0m for help-gnu-emacs@gnu.org; Tue, 26 Jun 2012 16:33:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjcRs-0005B9-FM for help-gnu-emacs@gnu.org; Tue, 26 Jun 2012 16:33:25 -0400 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:40633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjcRs-0005AH-66 for help-gnu-emacs@gnu.org; Tue, 26 Jun 2012 16:33:20 -0400 Original-Received: by pbbrp2 with SMTP id rp2so634705pbb.0 for ; Tue, 26 Jun 2012 13:33:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=VSI/YY7ASf7DM7qiEz0jl4JrKcBFOfM61DZgm8Ni8Bc=; b=io6ea0th9cWPFc81v02YMeYdZRS/80r7WWlitnKoGLnVj2Jq+KpkFlIf0dH8j6Bt+H b/fOSgf3rMWXJg3iPr4sLcfB/yIQngN8PBJKj6n5TynpCrpHyp0bLIQ50Z2W35SNMtro 6cL2y1nwstFkHzVYv3b7DO0ksRBKZP+FFBF+gqjP31dE+w/45J7bSk7R/1wivk103/0u IWPwQFleMJPYwW4dq8xpRoTV0jXRRVQ9vT+1+0R+9sC7/cpj9PM37kHyqvry3FcfaZcu S2nTAEtAergmKsW72tn7QjNI/VqcUOMONqtMnm4+JX/eLwKpEEwvZQnnyTDOdJJQq5Qo UTPA== Original-Received: by 10.68.221.227 with SMTP id qh3mr55235643pbc.115.1340742797982; Tue, 26 Jun 2012 13:33:17 -0700 (PDT) Original-Received: by 10.68.51.161 with HTTP; Tue, 26 Jun 2012 13:33:17 -0700 (PDT) In-Reply-To: <87sjdi3p0y.wl%lists@groll.co.za> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.41 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:85495 Archived-At: Peter and Jonathan, thank You for Your answer. These solutions seem to be a bit compicated, so how about sending marked/selected rectangle to clipboard selection with or without cua-mode? best regards, Paul On Tue, Jun 26, 2012 at 8:29 PM, Jonathan Groll wrote: > 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 =3D> "http://bloggroll.com" } > "Men always want to be a woman's first love. Women have a more subtle > =A0instinct: What they like is to be a man's last romance." ~ Oscar Wilde >