Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>As per Hendy's comment, in current versions of org-mode you use <code>org-copy-visible</code> (<code>C-c C-x v</code>) to copy the visible content of the current region to the kill ring. (<code>C-x h</code> can be used first to mark the entire buffer, as usual.)</p> <p>In addition, note that the export dispatch menu (<code>C-x C-e</code>) provides a "Visible only" switch, if you want to export that content to a different format.</p> <p>For older versions of org-mode, the original answer below should still apply:</p> <hr/> <p><code>M-x org-export-visible RET SPC</code> will copy only the currently-visible text of your org-mode buffer into a new buffer.</p> <blockquote> <p>org-export-visible is an interactive compiled Lisp function in `org-exp.el'.</p> <p>(org-export-visible TYPE ARG)</p> <p>Create a copy of the visible part of the current buffer, and export it. The copy is created in a temporary buffer and removed after use. TYPE is the final key (as a string) that also select the export command in the `C-c C-e' export dispatcher. As a special case, if the you type SPC at the prompt, the temporary org-mode file will not be removed but presented to you so that you can continue to use it. The prefix arg ARG is passed through to the exporting command.</p> </blockquote> <p>If you wanted to bind that (to <code>C-c o</code> in this example), you could use the following:</p> <pre><code>(add-hook 'org-mode-hook 'my-org-mode-hook) (defun my-org-mode-hook () "Custom behaviours when entering org-mode." (local-set-key (kbd "C-c o") (function (lambda () (interactive) (org-export-visible ?\s nil))))) </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload