From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sharon Kimble Newsgroups: gmane.emacs.help Subject: Re: How to speed up cutting & pasting from/to emacs? Date: Sun, 12 Jul 2015 19:58:16 +0100 Message-ID: <87y4ilp5iv.fsf@skimble.plus.com> References: <87zj31605c.fsf@skimble.plus.com> <87wpy58fkd.fsf@nl106-137-147.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1436727515 13554 80.91.229.3 (12 Jul 2015 18:58:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Jul 2015 18:58:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 12 20:58:22 2015 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 1ZEMSE-0005df-8R for geh-help-gnu-emacs@m.gmane.org; Sun, 12 Jul 2015 20:58:22 +0200 Original-Received: from localhost ([::1]:51674 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEMSD-0004ro-HS for geh-help-gnu-emacs@m.gmane.org; Sun, 12 Jul 2015 14:58:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEMS0-0004rT-SZ for help-gnu-emacs@gnu.org; Sun, 12 Jul 2015 14:58:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZEMRw-0005dR-L6 for help-gnu-emacs@gnu.org; Sun, 12 Jul 2015 14:58:08 -0400 Original-Received: from avasout06.plus.net ([212.159.14.18]:54305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEMRw-0005dI-FN for help-gnu-emacs@gnu.org; Sun, 12 Jul 2015 14:58:04 -0400 Original-Received: from london.london ([146.198.96.118]) by avasout06 with smtp id rWy21q0022ZEhcJ01Wy3Nm; Sun, 12 Jul 2015 19:58:03 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=foEhHwMf c=1 sm=1 tr=0 a=K8m7yHrMYE/TbacyGLm/gQ==:117 a=K8m7yHrMYE/TbacyGLm/gQ==:17 a=0Bzu9jTXAAAA:8 a=EBOSESyhAAAA:8 a=QH19hYA6h_8A:10 a=LlzXLoV6AAAA:8 a=iI7HsYTVAAAA:8 a=tHBFKcmkfoIdcAoSAckA:9 a=X96CNoWXi7w-JrcA:21 a=uVzNe5CNDIBldrQc:21 a=8Yo5Ng9X0g2n3x92qJsA:9 X-AUTH: skimble@:2500 In-Reply-To: <87wpy58fkd.fsf@nl106-137-147.student.uu.se> (Emanuel Berg's message of "Sun, 12 Jul 2015 19:13:22 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 212.159.14.18 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:105657 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Emanuel Berg writes: > Sharon Kimble 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. Primarily 'zim' and pasting to and from 'JabRef', I'm mostly creating bibtex records from a published bibliography on an article on the web, which I've opened in w3m. I would use 'eew' if I could only find out how to use tabs with it!=20 > > 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). By "speed-up" I mean that I have to wait for emacs to catch up with where I've pasted something. Yes, emacs as a GUI along with using the mouse. Knowing that "Openbox" is similar to "fluxbox", exactly *what is* your command in your "keys" page to access emacs again please? I know how to *start* a program, but not how to *access* a currently running program. > > If this is the situation you already have, elaborate > further what you mean by making it faster. > > In general, > > 1) Use Emacs for everything. Almost there.=20 > > 2) Don't use the mouse. I've seen and read about how bad using the mouse is in terms of potential RSI, but I still find it useful.=20 > > 3) Use shortcuts that are short and close. Yes, getting there.=20 > > 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'. I can easily utilise the "keys" program in fluxbox, which I had forgotten about.=20 > > 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. Will do. :) Thanks Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVorjIAAoJEDaBgBkK+INb0hsP/3Fv5b5Liz0h+wk7CxYLg97c S2BAhwnAyg7q3nGpvogHZjmIVTHttWMlbYYuzodGQVMKlqjrelzCwJjurrc4TMLM wnhLFXNmxnqdFcwOh753Jm0P8m/j+me5afClKsuKAVckGgKh45In6LUgqvjtk/Uk 8GSw+bbjDQJpxAVZ+eTp29vpScnEOO8d8wdugnSvHTx+dCk/n/IN2lRlEX4V5wXk 4cvKSyYRwYOOf2f+Yrpemio9t8FPJPCGP/wEHFzCyYlz2POy2aKzl0Gj9lFu6T0p +2cjusoKkipwYZqHleDOcRgCd4V/RHCJFaenQ9EJqnalMlccdqCLdKN8LuZ5qi33 YjWRuFghafkGpCAf2MVVuvaxLIBl22XEEyQ0mg/nGKhKWOEEkv6nxqwuaYNw20Va 4t24fzUJfI4sY+4uqeslJP4taOhrjUaf2VA3C/NmEGcrgSQLndrX/CUVamGPXNaM sO0ANWH1D5UhKIzHIeaiXNS+3JqnH/KmMJUpTDoMdua3Zvejzn97xFXt+hacYcYm jIGbmfU5L9aza0HWfmnAI8NDSuMKB4DZHmKcnNAuqydimzJ53Dqp4iZ+zQhjHtWB uMdEJP9v3riSS2GSnlj0fp9SXuR8eqyMZdrAN2mx4zFfTOG29uk2MPaKsa9vqMeW IPybcMZOrD5n3b8vtf4/ =j9jb -----END PGP SIGNATURE----- --=-=-=--