From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: org-refile gets the level wrong Date: Sat, 16 Aug 2008 11:14:15 -0400 Message-ID: <877iahgfg8.fsf@gollum.intra.norang.ca> References: 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 1KUNTx-0002U9-RJ for emacs-orgmode@gnu.org; Sat, 16 Aug 2008 11:14:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KUNTx-0002Tv-AV for Emacs-orgmode@gnu.org; Sat, 16 Aug 2008 11:14:21 -0400 Received: from [199.232.76.173] (port=46421 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KUNTx-0002Tp-7U for Emacs-orgmode@gnu.org; Sat, 16 Aug 2008 11:14:21 -0400 Received: from mho-02-bos.mailhop.org ([63.208.196.179]:58487) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KUNTw-0006Kg-U4 for Emacs-orgmode@gnu.org; Sat, 16 Aug 2008 11:14:21 -0400 In-Reply-To: (Trey Jackson's message of "Thu\, 14 Aug 2008 10\:51\:28 -0700") 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: Trey Jackson Cc: Emacs-orgmode@gnu.org Trey Jackson writes: > Just started using org (6.06b). > > I've got .emacs customization: > (setq org-log-done t) > (setq org-directory "~/org/") > (setq org-agenda-files (list "~/org/orgTutorial.org")) > (setq org-default-notes-file "~/org/orgTutorial.org") > (setq org-return-follows-link t) > (setq org-blank-before-new-entry '((heading . t) > (plain-list-item . nil))) > > > And I've got a file that looks like this: > ,---------------- > | #+STARTUP: showstars > | #+STARTUP: hidestars > | #+STARTUP: odd > | #+STARTUP: oddeven > | > | * first header > | > | * second header > | *** TODO thing to refile > `---------------- > > On the 'TODO' item I run M-x org-refile > and when prompted enter 'first header' > > After refiling it looks like: > > ,---------------- > | * first header > | ** TODO thing to refile > | > | * second header > `---------------- > > Note there are only two asterisks. Is this expected behavior? Or a bug? I think this is expected behaviour. Your startup options are conflicting. You normally have only one of showstarts or hidestars since their settings are mutually exclusive. You also only have one of odd or oddeven. I think the last encountered setting wins so your startup options are equivalent to #+STARTUP: hidestars oddeven -Bernt