Carbon Emacs不会粘贴Microsoft Word的复制内容 [英] Carbon Emacs does not paste Microsoft Word's copied contents
问题描述
不确定如果Stackoverflow是正确的网站。
我在mac ox 10.6.7上使用碳emacs 22.0.971。和MS字12.2.8。我有一些文本在MS字,我想复制和粘贴到emacs。我做正常的程序cmd C在word,C-y在emacs,但文本不会被复制在emacs,而是看起来一个位图的复制文本被传递。一个大图像可以用一个C-d删除。我可以绕过它:将文本粘贴在文本编辑器中。但对我来说,这是新的emacs行为。有没有办法强制emacs以纯文本粘贴剪贴板?
问候,
Jeroen。
如果您不想每次都输入该命令,请将其绑定到某些键盘快捷键。
(global-set- key [(control x)(y)]'clipboard-yank)
Not Sure if Stackoverflow is right site.
I'm using carbon emacs 22.0.971 on mac ox 10.6.7. And MS word 12.2.8. I have some text in MS word which i want to copy and paste into emacs. I do the normal procedure cmd C in word, C-y in emacs, but the text does not get copied in emacs, instead it looks a bitmap of the copied text is passed. One big image which can be deleted with one C-d. I can get around it: paste the text in mac ox' text editor. But for me it is new emacs behavior. Is there a way to force emacs to paste the clipboard as plain text?
regards, Jeroen.
That's because yank
does not not paste from the clipboard, but from the kill ring. Try M-x clipboard-yank instead.
If you do not want to type that command every time, bind it to some keyboard shortcut, e.g. C-x y, by putting the following line into your .emacs file:
(global-set-key [(control x) (y)] 'clipboard-yank)
这篇关于Carbon Emacs不会粘贴Microsoft Word的复制内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!