Kyle Meyer <k...@kyleam.com> writes: > Loris Bennett <loris.benn...@fu-berlin.de> writes: > >> with Org mode version 9.0.8 (9.0.8-elpaplus @ >> /home/loris/.emacs.d/elpa/org-plus-contrib-20170606/) and GNU Emacs >> 25.1.1, org-copy-visible does not work as I expect. > > [...] > >> * Org copy visible >> ** Bits... >> >> mark the visible two lines, do org-copy-visible, yank into another >> buffer, I get >> >> * Org copy visible >> ** Bits >> and bobs >> >> in the second buffer instead of just the two headlines. > > FWIW I haven't had any luck reproducing this. I've tried using Org's > release_9.0.8 tag, the maint branch, and the master branch (all with > Emacs 25.2). Just the visible parts are copied in all cases. > > Perhaps stepping through org-copy-visible would help you see what's > happening.
Just for the record, I have finally got round to starting Emacs with a still rather sparse Org-based init.el, rather than my 30-year-old .emacs and the problem has disappeared. So the issue lies somewhere in the cruft. Cheers, Loris -- This signature is currently under construction.