From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs24/gtk3 - how to mark rectangle of to primary selection?
Date: Wed, 27 Jun 2012 04:47:55 -0700 (PDT) [thread overview]
Message-ID: <e05e386e-36ee-4ab0-bdc2-1cf18aa9ab72@po9g2000pbb.googlegroups.com> (raw)
In-Reply-To: mailman.3529.1340742812.855.help-gnu-emacs@gnu.org
On Jun 26, 1:33 pm, Paul K <mafeu...@gmail.com> wrote:
> 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 <li...@groll.co.za> wrote:
> > On Tue, 26 Jun 2012 16:24:12 +0200, Paul K <mafeu...@gmail.com> 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
it's not difficult to write a elisp command to do this.
basically, the command use kill-rectangle to trim a text into a column
you want, then put it on clipboard. Probably a 15 min job...
you can make do with a key macro instead. It should work.
Xah
next prev parent reply other threads:[~2012-06-27 11:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-26 14:24 emacs24/gtk3 - how to mark rectangle of to primary selection? Paul K
2012-06-26 14:52 ` Peter Dyballa
2012-06-26 18:29 ` Jonathan Groll
2012-06-26 20:33 ` Paul K
2012-06-26 20:44 ` Peter Dyballa
2012-06-26 20:58 ` Paul K
2012-06-26 21:19 ` suvayu ali
2012-06-27 6:58 ` Yuri Khan
[not found] ` <mailman.3529.1340742812.855.help-gnu-emacs@gnu.org>
2012-06-27 11:47 ` Xah Lee [this message]
2012-06-27 17:15 ` Aurélien Aptel
2012-06-27 18:41 ` Andreas Röhler
[not found] ` <mailman.3573.1340817336.855.help-gnu-emacs@gnu.org>
2012-06-29 16:38 ` Xah Lee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e05e386e-36ee-4ab0-bdc2-1cf18aa9ab72@po9g2000pbb.googlegroups.com \
--to=xahlee@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.