From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Font problem with copying subtrees Date: Mon, 04 May 2009 13:07:01 -0400 Message-ID: <87tz406bm2.fsf@gollum.intra.norang.ca> References: <87fxfyt5fq.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M11dJ-0003eY-2e for emacs-orgmode@gnu.org; Mon, 04 May 2009 13:07:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M11dF-0003dg-AE for emacs-orgmode@gnu.org; Mon, 04 May 2009 13:07:12 -0400 Received: from [199.232.76.173] (port=56901 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M11dF-0003dd-4s for emacs-orgmode@gnu.org; Mon, 04 May 2009 13:07:09 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:59829) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M11dE-00036l-K9 for emacs-orgmode@gnu.org; Mon, 04 May 2009 13:07:08 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org Carsten Dominik writes: > On Apr 24, 2009, at 5:52 PM, Bernt Hansen wrote: > >> I got a chance to try out the new C-c C-x c >> (org-clone-subtree-with-time-shift) yesterday while doing my quarterly >> accounting (ugh) and this is much better than the old way I dealt with >> these repeating tasks. Thanks!! >> >> I noticed a problem with font locking (if that's what you call it) >> when >> copying subtrees and supplying a date. >> >> I started with the following file: >> >> ,----[ x.org ] >> | >> | * Level One >> | ** TODO One >> | *** TODO One.One >> | *** TODO One.Two >> | ** TODO Two >> | ** TODO Three >> | *** TODO Three.One >> | ** TODO Four >> | * TODO Next thing >> `---- >> >> and with the cursor on "* Level One" I did >> C-c C-x c >> Number of clones to produce: 1 RET >> Date shift per clone (e.g. +1w, empty to copy unchanged): +1y >> >> and the copied clone was all black text. >> >> Of course I just undid it now and redid it and it looks correct :/ >> >> I noticed this when copying my large-ish subtrees for the accounting >> quarterly work because tables were not blue, no heading levels were >> coloured etc. >> >> Let me know if you need more information. > Very strange, so far I cannot reproduce this. > > - Carsten > This seems to be flyspell mode that causes this from my org-mode-hook. ,----[ minimal.emacs ] | (add-to-list 'load-path (expand-file-name "~/git/org-mode/lisp")) | (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode)) | (require 'org-install) | (add-hook 'org-mode-hook | (lambda () | (flyspell-mode 1))) `---- I need to copy the region twice to make it show up. $ emacs -q -l /tmp/minimal.emacs /tmp/x.org down arrow (to get to the first heading) C-c C-x c 1 RET +1w C-c C-x c 1 RET +1y the second copy is black. -Bernt