emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Trey Jackson <bigfaceworm@gmail.com>
Cc: Emacs-orgmode@gnu.org
Subject: Re: org-refile gets the level wrong
Date: Sat, 16 Aug 2008 11:14:15 -0400	[thread overview]
Message-ID: <877iahgfg8.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <u27bpzvjxi7.fsf@mentor.com> (Trey Jackson's message of "Thu\, 14 Aug 2008 10\:51\:28 -0700")

Trey Jackson <bigfaceworm@gmail.com> 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

  reply	other threads:[~2008-08-16 15:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-14 17:51 org-refile gets the level wrong Trey Jackson
2008-08-16 15:14 ` Bernt Hansen [this message]
2008-08-18 20:29   ` Trey Jackson
2008-09-03  9:37     ` Carsten Dominik

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=877iahgfg8.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=Emacs-orgmode@gnu.org \
    --cc=bigfaceworm@gmail.com \
    /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).