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

[-- Attachment #1: Type: text/plain, Size: 3611 bytes --]

Emanuel Berg <embe8573@student.uu.se> writes:

> 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.

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! 

>
> 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. 
>
> 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. 
>
> 3) Use shortcuts that are short and close.

Yes, getting there. 
>
> 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. 
>
> 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.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.2

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

  parent reply	other threads:[~2015-07-12 18:58 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
2015-07-12 18:02   ` Ian Zimmerman
2015-07-12 18:58   ` Sharon Kimble [this message]
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=87y4ilp5iv.fsf@skimble.plus.com \
    --to=boudiccas@skimble.plus.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.