all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: How to speed up cutting & pasting from/to emacs?
Date: Sun, 12 Jul 2015 19:13:22 +0200	[thread overview]
Message-ID: <87wpy58fkd.fsf@nl106-137-147.student.uu.se> (raw)
In-Reply-To: 87zj31605c.fsf@skimble.plus.com

Sharon Kimble <boudiccas@skimble.plus.com> writes:

> I'm involved in a project which involves a lot of
> pasting into emacs From the clipboard, which is
> taking a long time.

The best answer/method is: don't do it!

What other program(s) are you using, to/from which you
copy/paste? Have you examined if Emacs can do what
these programs do, in what case you don't have that
problem anymore but can rely on kill/yank instead,
which is much more powerful and fast.

Examples, instead of - use: Thunderbird -> Gnus (what
I remember you already use that), Irssi -> ERC, man
pages with man/less in the shell -> M-x man RET,
Iceweasel/Firefox -> Emacs-w3m. And so on.

> How can I speed up the cutting and pasting please?

What do you mean "speed up", exactly? Do you use the
GUI Emacs in X? And in another window, you have
another program with text? Again, the best thing is if
what that program does can be done in Emacs, which is
very likely, and Emacs probably does it better as
well. If this can't be done for whatever reason, you
need a window manager in X with a shortcut to iterate
windows. I use Openbox with which it is possible to
select window with M-TAB (in Emacs' notation). So in
the other program you cut the text. Then hit M-TAB to
go to Emacs. Then hit whatever key you have assigned
to paste it, if it isn't integrated with the kill
ring already, in what case C-y is fine (it doesn't
matter in terms of speed if the "paste from clipboard"
shortcut is as short and close as C-y).

If this is the situation you already have, elaborate
further what you mean by making it faster.

In general,

1) Use Emacs for everything.

2) Don't use the mouse.

3) Use shortcuts that are short and close.

4) Integrate Emacs with external programs by setting
   up (keyboard) shortcuts to go to and from them.
   For example, if the M-TAB window iteration method
   isn't fast enough (if you have tons of windows),
   setup a shortcut in X (with xbindkeys) to go
   directly to the Emacs window, and then setup
   another shortcut to go directly to the program from
   which you copy text. This isn't difficult to do:
   use 'wmctrl'.

Keep on asking until you get it if you get stuck.
Things like this are very important and they are what
makes the difference between fun and productive and
miserable and somewhat less productive, and you don't
want to make that trade.

-- 
underground experts united
http://user.it.uu.se/~embe8573




  parent reply	other threads:[~2015-07-12 17:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-12 12:17 How to speed up cutting & pasting from/to emacs? Sharon Kimble
2015-07-12 16:11 ` Ian Zimmerman
2015-07-12 17:28   ` Sharon Kimble
     [not found]   ` <mailman.6791.1436722135.904.help-gnu-emacs@gnu.org>
2015-07-12 17:35     ` Rusi
2015-07-12 18:20       ` Sharon Kimble
2015-07-12 18:24       ` Ian Zimmerman
2015-07-12 17:13 ` Emanuel Berg [this message]
2015-07-12 18:02   ` Ian Zimmerman
2015-07-12 18:58   ` Sharon Kimble
2015-07-13  0:32     ` Emanuel Berg
2015-07-13  0:51       ` Emanuel Berg
2015-07-13 15:05       ` Sharon Kimble
2015-07-13 23:55         ` Emanuel Berg
2015-07-27  1:36         ` Emanuel Berg
2015-07-13 15:30     ` Jorge A. Alfaro-Murillo
2015-07-12 17:35 ` Yuri Khan
     [not found] <mailman.6773.1436703421.904.help-gnu-emacs@gnu.org>
2015-07-12 15:24 ` Raffaele Ricciardi

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=87wpy58fkd.fsf@nl106-137-147.student.uu.se \
    --to=embe8573@student.uu.se \
    --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.