Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [copy-paste]

is about the editor operations cut, copy, and paste as they apply to Emacs. In Emacs, cut is called "kill" and paste is called "yank" (but Emacs enhances the standard cut and paste behavior).

3
votes
0answers
54 views

Copy buffer content verbatim

Emacs uses overlays / prettify-symbols-mode / etc which modify how data is displayed to user. I like to copy visible content as I see it. For example I aligned columns in CSV file with M-x csv-align-...
3
votes
0answers
87 views

copy to clipboard without overwriting kill ring

I'm looking for a way to copy to clipboard from emacs without passing through the kill-ring, moving the marker or using the mouse. If I use x-select-enable-primary and x-select-enable-clipboard, I can ...
3
votes
0answers
696 views

Emacs takes a very long time to read/save to the clipboard

Sometimes emacs takes a very long time (+ 30 seconds) to read from or save to the system (Linux) clipboard. The entire emacs session hangs while it does this and I can't cancel it with C-g or ESC ESC ...
2
votes
0answers
839 views

Copy/paste from Windows clipboard in WSL terminal

I know that question has been asked dozens of times now, but i have tried every possible suggestion i have found online - nothing worked. I can't figure out how can I copy/paste from my Windows 10 to ...
2
votes
0answers
268 views

How to copy into mintty xterm clipboard from terminal emacs

My host machine is Windows, but I'm working in Linux virtualbox machine over ssh from mintty in MSYS2 environment. As you may know, in mintty you copy via C-insert and paste via C-S-insert. When I ssh ...
2
votes
0answers
95 views

Copy/Paste relative links between buffers

How can I copy (relative) links and regions with (relative) links between buffers? Buffer c:\path\to\a\a.org contains links of the form * A section with links This is a link to another org-file [[...
2
votes
0answers
150 views

How do I get the highlight region mouse and yank functionality work like Emacs 21.3 in a newer version?

Recently at work (a small academic department, absolutely no Emacs support) we upgraded from Emacs version 21.3.1 to 24.3. In version 21 marking a region with the mouse will put the highlighted text ...
1
vote
0answers
160 views

Evil paste behaviour

I'm noticing odd behaviour when I select some text with control-space and use p to paste -- in that the paste is done after the cursor character, rather than on the next line. Is that intentional, ...
1
vote
0answers
35 views

Is there a way to get copy & paste to be context-aware wrt whitespace and formatting?

When I copy a word and paste it at the end of an existing sentence (between the last word and the full stop), I'd like it to be pasted in such a way that the space between the pasted word and the ...
1
vote
0answers
138 views

Unicode character escape sequences instead of text upon mouse-2 paste from other windows

I am having a weird problem with emacs: When pasting non-ascii text, e.g. € from X-clipboard with the middle mouse button into x-enabled emacs I get Unicode character escape sequences, e.g. \u20ac ...
0
votes
0answers
14 views

emacs in putty session on fedora under virtual box on windows 10 hangs on X11 paste

I suffer a rangy environment where I typically will run emacs in a putty session on fedora under virtual box on windows 10. Sometimes (not all of the time), pasting into the emacs will hang the ...
0
votes
0answers
18 views

Cygwin mintty cut will paste to notepad, but (sometimes) not to cygwin emacs. Why? mouse-yank-primary?

I'm running Windows 7, cygwin emacs-w32 26.1, and mintty 2.9.6. When I select text in mintty (using the mouse), and paste (using C-v) into Notepad (for example), it works the way I would expect it to....
0
votes
0answers
99 views

How to use Org pretty math expressions with clipboard?

Using org-toggle-pretty-entities, org-mode will convert text like ∫_ℝ f(x)dx = 1 ∑^N_{i=1} x_i to But if I want to copy that text to an outside application, it just shows up as it was originally ...
0
votes
0answers
262 views

Wanted: vim-like paste behavior from browse-kill-ring

When using the browse-kill-ring package to insert some text from the kill ring, the text always gets inserted before point. This is not intuitive to vim users who are used to pasted text being ...