Copy (capture) only visible text in emacs mode

Sometimes I would like to copy only visible text from the contour buffer in emacs, ignoring hidden sheets, etc.

I see no way to do this. When I use Mw and then paste it in another place, I get all the text, including the hidden parts.

Does anyone know how to do this? Guide and Google do not help.

Thank,

Tom

+3
source share
1 answer

Edit: Tom Faulhaber's solution according to the comment below:
https://gist.github.com/tomfaulhaber/519635

Original answer:

FWIW, org-mode org-export-visible , , , , ?

M-x outline-headers-as-kill, - . , , , , .

+3

Source: https://habr.com/ru/post/1758807/


All Articles