From: Bernt Hansen <bernt@norang.ca>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Font problem with copying subtrees
Date: Mon, 04 May 2009 13:07:01 -0400 [thread overview]
Message-ID: <87tz406bm2.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: A05993D0-F1D3-4B3E-BB76-D348E80701A3@gmail.com
Carsten Dominik <carsten.dominik@gmail.com> 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
prev parent reply other threads:[~2009-05-04 17:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-24 15:52 Font problem with copying subtrees Bernt Hansen
2009-05-04 15:01 ` Carsten Dominik
2009-05-04 17:07 ` Bernt Hansen [this message]
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=87tz406bm2.fsf@gollum.intra.norang.ca \
--to=bernt@norang.ca \
--cc=carsten.dominik@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).