简体   繁体   English

如何从emacs文档中复制和粘贴文本?

[英]How to copy & paste text from emacs documentation?

I am writing my own emacs cheat sheet. 我正在编写自己的emacs备忘单。 So I want to copy function descriptions from emacs help. 因此,我想从emacs帮助中复制功能描述。

For example, in this screen shot, I want to copy the "org-shifttab" function description: 例如,在此屏幕快照中,我要复制“ org-shifttab”功能描述: The "pattern" field filters a list of functions. “模式”字段过滤功能列表。 Pressing TAB displays the description of the selected function. 按TAB键显示所选功能的说明。 But moving the yellow cursor out of the "pattern" field removes the display of the function's description. 但是将黄色光标移出“模式”字段将删除功能说明的显示。

How to copy the function's description to the clipboard? 如何将功能说明复制到剪贴板?

I am running Emacs 25.2.1 on Fedora 25. 我在Fedora 25上运行Emacs 25.2.1。

You have a *Help* buffer now with the contents that you're looking for. 您现在有了一个*Help*缓冲区,其中包含您要查找的内容。 You can either press enter to go to that help buffer, or use Cx b to switch to it. 您可以按enter键转到该帮助缓冲区,也可以使用Cx b切换到该缓冲区。

From there, you can mark and copy the contents of the buffer as usual ( Cx h Mw ). 从那里,您可以照常标记和复制缓冲区的内容( Cx h Mw )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM