Carbon Emacs 不粘贴 Microsoft Word 复制的内容
不确定 Stackoverflow 是否是正确的站点。
我在 mac ox 10.6.7 上使用 Carbon emacs 22.0.971。和 MS Word 12.2.8。我在 MS Word 中有一些文本,我想将其复制并粘贴到 emacs 中。我在word中执行正常程序cmd C,在emacs中执行Cy,但文本没有在emacs中复制,而是看起来传递了复制文本的位图。一张大图像,一张CD就可以删除。我可以解决这个问题:将文本粘贴到 mac ox 的文本编辑器中。但对我来说这是新的 emacs 行为。有没有办法强制 emacs 将剪贴板粘贴为纯文本?
问候, 杰罗恩.
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我遇到了同样的问题,上面的答案没有帮助。查看“yank”帮助文本后,我将其添加到我的 .emacs 中,这似乎有效:
I had the same problem and the above answer did not help. After looking at the 'yank' helptext, I added this to my .emacs, which seems to work:
这是因为
yank
不是从剪贴板粘贴,而是从 杀环.尝试使用 Mx Clipboard-yank 代替。如果您不想每次都键入该命令,请将以下行添加到 .emacs 文件中,将其绑定到某个键盘快捷键,例如 Cx y:
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: