emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Weird Headline Behavior
@ 2019-02-08 20:54 Scott Randby
  2019-02-12 22:37 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Scott Randby @ 2019-02-08 20:54 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I've been noticing some unusual behavior when I manipulate headlines (Org 9.2).

I have the following (or something similar) at the very end of many Org files:

* LOCAL VARIABLES
# Local Variables:
# mode: org
# coding: utf-8-unix
# End:

If I copy this subtree (C-c C-x M-w) and then yank it (C-c C-x C-y) into into the same file or another file, only the headline is yanked, the rest of the subtree is not.

In addition, if I decide to delete a different headline in the file (C-c C-x C-w) while the LOCAL VARIABLES headline is folded, then this appears on the display:

* LOCAL VARIABLES...# Local Variables:
# mode: org
# coding: utf-8-unix
# End:

I don't know if these facts are relevant or not, but this behavior happens when org-indent-mode is both on and off, and I have org-tags-column set to 0.

The folding behavior is not big deal since S-TAB or something similar corrects everything, but it is inconvenient to have to use regular copy and yank commands when I want to copy the subtree to a different file. Can anyone provide some insight into this?

Scott Randby

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-02-13  4:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-08 20:54 Weird Headline Behavior Scott Randby
2019-02-12 22:37 ` Nicolas Goaziou
2019-02-13  4:26   ` Scott Randby

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).