From: Scott Randby <srandby@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Weird Headline Behavior
Date: Fri, 8 Feb 2019 15:54:50 -0500 [thread overview]
Message-ID: <94822f76-0ac9-88a6-399f-31b97b3ffc33@gmail.com> (raw)
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
next reply other threads:[~2019-02-08 20:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-08 20:54 Scott Randby [this message]
2019-02-12 22:37 ` Weird Headline Behavior Nicolas Goaziou
2019-02-13 4:26 ` Scott Randby
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=94822f76-0ac9-88a6-399f-31b97b3ffc33@gmail.com \
--to=srandby@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).