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: Mon, 13 Jul 2015 16:05:29 +0100 Message-ID: <87lhekf686.fsf@skimble.plus.com> References: <87zj31605c.fsf@skimble.plus.com> <87wpy58fkd.fsf@nl106-137-147.student.uu.se> <87y4ilp5iv.fsf@skimble.plus.com> <87vbdokic8.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 1436799971 10785 80.91.229.3 (13 Jul 2015 15:06:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jul 2015 15:06:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 13 17:06:01 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 1ZEfIt-0001Sk-9u for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jul 2015 17:05:59 +0200 Original-Received: from localhost ([::1]:55237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEfIs-0008KN-DS for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jul 2015 11:05:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEfIN-0008K9-3F for help-gnu-emacs@gnu.org; Mon, 13 Jul 2015 11:05:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZEfII-0006cY-Jy for help-gnu-emacs@gnu.org; Mon, 13 Jul 2015 11:05:27 -0400 Original-Received: from avasout05.plus.net ([84.93.230.250]:51125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEfII-0006Wa-Aq for help-gnu-emacs@gnu.org; Mon, 13 Jul 2015 11:05:22 -0400 Original-Received: from london.london ([146.198.96.118]) by avasout05 with smtp id rr5H1q0062ZEhcJ01r5JiS; Mon, 13 Jul 2015 16:05:18 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=FZvKv8K6 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=MUnkXy62AAAA:8 a=LlzXLoV6AAAA:8 a=iI7HsYTVAAAA:8 a=_9le0TIqaj__ERGd2DgA:9 a=9ZlxFmryC8xJZV3F:21 a=HTX-V32Dc4zOZEIF:21 a=oCYu5poZo_j4dIbw47YA:9 X-AUTH: skimble@:2500 In-Reply-To: <87vbdokic8.fsf@nl106-137-147.student.uu.se> (Emanuel Berg's message of "Mon, 13 Jul 2015 02:32:39 +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: 84.93.230.250 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:105686 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Emanuel Berg writes: Thanks for this Emanuel, extremely interesting and I've had a quick play in between doing my housework, and I'm hoping to have a more serious look later in the week, but at the moment I'm under pressure for writing my book, plus ensuring I have all the necessary paperwork and stuff for two hospital visits this week. So I will get back to it in due course. Thanks Sharon. > Sharon Kimble writes: > >> 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! > > When you say w3m, you mean Emacs-w3m, right? If not, > look for it in the Debian repos or Ubuntu ditto if you > are using that. On Debian, it is in a package called > "w3m-el-snapshot". > > Emacs-w3m is more mature/seasoned than eew so probably > it has more power at this point. But such things can > change quickly. > > There are tabs in Emacs-w3m, for sure. Here are some > config for those [1] - and in the directory below, > more on Emacs-w3m in general. > >> By "speed-up" I mean that I have to wait for emacs >> to catch up with where I've pasted something. > > What do you mean - "catch up"? > >> 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. > > I don't have any experience with fluxbox, but all > civilized WMs can be interacted with using the program > wmctrl. This should be in your repos as well, so > get it. > > It works like this: > > 1) Type 'xman &' and 'xcalc &'. They should appear as > two neat little windows (for display purposes ONLY as > I wouldn't recommend using them for anything else). > > 2) Type 'wmctrl -l'. If it works you should see > something like this: > > 0x00a00013 0 nl106-137-147 Calculator > 0x0080000e 0 nl106-137-147 xman > > If it doesn't work, it means fluxbox is incompatible > with wmctrl, and this method won't work. (I don't > think that will happen.) > > By the way, here is a useful alias: > > alias wins=3D'wmctrl -l' > > 3) Type 'wmctrl -a xman'. The window of xman > should get into focus. Now, try to get to xcalc the > same way. But not exactly the same way! Remember the > output of 'wins' - xcalc wasn't refered to as "xcalc" > but as "Calculator", i.e. that what is appearing in > the title bar of the window of the program. Other than > that it is the same. > > 4) Now install xbindkeys, and start it with > 'xbindkeys'. Confirm that it runs with > > ps -e | grep xbindkeys > > (Later, to make it run each time you start X, put > 'xbindkeys &' in ~/.xinitrc.) > > 5) Last, set up the shortcuts in ~/.xbindkeysrc. > > "wmctrl -a Calculator" > alt+k > > "wmctrl -a xman" > alt+w > > 6) Perhaps one can refresh xbindkeys somehow... If you > find out, tell me. If not, type 'pkill xbindkeys', > confirm it doesn't run, then run it again > with 'xbindkeys'. > > 7) Now hit Alt+k for xcalc, and Alt+w for xman! > > Phew! > >> I've seen and read about how bad using the mouse is >> in terms of potential RSI, but I still find >> it useful. > > Using the mouse is bad for your arm/hand and eyes, > yes, call it what you want (RSI =3D Repetitive strain > injury, by the way), but in this context it is bad in > terms of *speed* as you have to move your hands back > and forth from typing position, which is the "asdf" > and "jkl;" keys for the left and right > hand, respectively. > > This lack of speed also prolongs the time to do things > which enlarges the otherwise negative effects. > With typing on the other hand, some do it with such > speed they never stop :) > > More, the mouse is also inefficient: "That one... no, > not this. This! The one to the left! Your left, yes > that one." Compare that to the professional discussion > in a work shop: "Open the crank with a pin wrench. > The lock ring is left threaded." It is just a whole > other level. > > [1] http://user.it.uu.se/~embe8573/conf/emacs-init/w3m/w3m-tabs.el > > Examples of the other files mentioned: > > http://user.it.uu.se/~embe8573/conf/.xbindkeysrc > http://user.it.uu.se/~embe8573/conf/.xinitrc =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 iQIcBAEBCgAGBQJVo9O6AAoJEDaBgBkK+INb2rQQAKOAg2Tp512EuFgf8V7mRc0c 6MgrhOawN+nkj1i4Uk0NeUG9YPxRfRkzADN+Xx0s0yHFktJUPQV/3hREmdA+jb6/ kniiAEkBhVbJAV5ojk5EylNNHAV4VAcEJ/7wx5F5VV3OBcP+HVDBURM+viYc1TjY M6M9OXNyve1OyCsLf9aW1t9QYEJDAPGPuonkHgXPmr13uqJSchbDooMp3I4uARAJ 2pvwlfI+66eUsZPL0+NWujsUXIQw201WMJRkQzHszmu/nTmOeY9hclaoSVMuPm2X +fpXl6CMd6gEnD4t6uDI8pu/yzuzJHbJ8bccX8N4s5cbnGWY4x0NCIwM8H0t5L2m AVL9PuCao03CjAsk13GlptVhBP1e4MTgaDqHbyKi+6uwnOSNvORaeKxA/EebUHW1 EV8OmleF5IVD1slogfbgCAwCc9G/XSh+aU0q1Vx8FDbqINabMMXzZaGqAWqP8fBK gb2q2N6WMy9dGpMsPD7ek2B2bo21096iMiBtWiU3+ur7kLLA5Flyu0GFLucDKnI9 cRdAgsyMVeAvdsUA6ZHzBZ6uNqrZwdioJPdwb6YPXg1yTG+fPmdZ4HPM3aMW70HC EzriPqSpgPRtxZBL3bO/SYtjzRrQVmSoRbzL+J8lzBLCI06Fsa2G6mdzPmC+M2UH T+l754K5unqNacdSJVGH =SFQ/ -----END PGP SIGNATURE----- --=-=-=--