From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Randby Subject: Weird Headline Behavior Date: Fri, 8 Feb 2019 15:54:50 -0500 Message-ID: <94822f76-0ac9-88a6-399f-31b97b3ffc33@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:52291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsDAk-0002Sv-DW for emacs-orgmode@gnu.org; Fri, 08 Feb 2019 15:54:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsDAj-0007dF-N3 for emacs-orgmode@gnu.org; Fri, 08 Feb 2019 15:54:54 -0500 Received: from mail-it1-x12e.google.com ([2607:f8b0:4864:20::12e]:56288) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsDAj-0007b0-FY for emacs-orgmode@gnu.org; Fri, 08 Feb 2019 15:54:53 -0500 Received: by mail-it1-x12e.google.com with SMTP id f18so1139625itb.5 for ; Fri, 08 Feb 2019 12:54:52 -0800 (PST) Received: from ?IPv6:2605:a000:121e:94:3016:587f:bdfa:f7e3? ([2605:a000:121e:94:3016:587f:bdfa:f7e3]) by smtp.gmail.com with ESMTPSA id r195sm1691038ita.3.2019.02.08.12.54.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Feb 2019 12:54:51 -0800 (PST) Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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