From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: can't insert new headline on top of file with `org-insert-headline-respect-content' [6.33trans] Date: Mon, 23 Nov 2009 09:34:35 +0100 Message-ID: <62780100-C8CF-4B38-9BB7-5DF2D194416E@gmail.com> References: <87tywlznoi.wl%maus.david@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCUNh-0003aL-Ll for emacs-orgmode@gnu.org; Mon, 23 Nov 2009 03:34:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCUNd-0003Zg-0p for emacs-orgmode@gnu.org; Mon, 23 Nov 2009 03:34:45 -0500 Received: from [199.232.76.173] (port=37282 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCUNc-0003Zd-SX for emacs-orgmode@gnu.org; Mon, 23 Nov 2009 03:34:40 -0500 Received: from mx20.gnu.org ([199.232.41.8]:50762) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NCUNc-0007nY-C5 for emacs-orgmode@gnu.org; Mon, 23 Nov 2009 03:34:40 -0500 Received: from mail-fx0-f213.google.com ([209.85.220.213]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NCUNb-0007E7-24 for emacs-orgmode@gnu.org; Mon, 23 Nov 2009 03:34:39 -0500 Received: by fxm5 with SMTP id 5so5936644fxm.8 for ; Mon, 23 Nov 2009 00:34:37 -0800 (PST) In-Reply-To: <87tywlznoi.wl%maus.david@gmail.com> 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: David Maus Cc: emacs-orgmode@gnu.org Fixed, thanks. - Carsten On Nov 23, 2009, at 8:48 AM, David Maus wrote: > > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. You don't know how to make a good report? > See > > http://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted to the Org-mode mailing list. > ------------------------------------------------------------------------ > > If `org-insert-heading-respect-content' is set to t Orgmode refuses to > insert a new headline above the first headline. > > - create a new buffer called *test* (C-x b *test* ) > > - turn on org-mode (M-x org-mode ) > > - call `org-insert-heading-respect-content' > > *Messages* > ,---- > | byte-code: Before first headline at position 1 in buffer *test* > `---- > > This is slightly annoying as I cannot insert a headlines in a brand > new orgfile with M- when the customization variable > `org-insert-heading-respect-content' is set to t. > > Emacs : GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3) > of 2009-11-15 on elegiac, modified by Debian > Package: Org-mode version 6.33trans > > current state: > ============== > (setq > org-export-latex-default-class "scrartcl" > org-clock-in-switch-to-state "STARTED" > org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold) > ("STARTED" :foreground "orange red" :weight bold) > ("DONE" :foreground "light green") ("MAYBE" :foreground "tomato") > ("WAITING" :foreground "tan2" :weight bold) > ("CANCELLED" :foreground "firebrick")) > org-expiry-insert-created-only-if-todo t > org-agenda-custom-commands '(("r" "Refile New Notes and Tasks" tags > "LEVEL=1+REFILE" > ((org-agenda-todo-ignore-with-date nil))) > ("s" "Started Tasks" todo "STARTED" > ((org-agenda-todo-ignore-scheduled nil) (org-agenda-todo- > ignore-deadlines nil) > (org-agenda-todo-ignore-with-date nil)) > ) > ) > org-agenda-files '("XXX") > org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) > org-agenda-tags-column -120 > org-checklist-export-function 'org-export-as-ascii > org-completion-use-ido t > org-expiry-created-property-name "Created" > org-after-todo-state-change-hook '(org-clock-out-if-current org- > expiry-insert-created org-checklist) > org-expiry-expiry-timestamp-active nil > org-agenda-todo-ignore-scheduled t > org-todo-state-tags-triggers '((todo ("NOTE")) ("" ("NOTE" . t))) > org-log-redeadline 'time > org-expiry-created-timestamp-active nil > org-export-preprocess-hook '(org-export-blocks-preprocess) > org-tags-exclude-from-inheritance '("NOTE" "ATTACH" "APPT") > org-tab-first-hook '(org-hide-block-toggle-maybe) > org-src-mode-hook '(org-src-mode-configure-edit-buffer) > org-confirm-shell-link-function 'yes-or-no-p > org-todo-keywords '((sequence "TODO(t)" "STARTED(s)" "|" "DONE(D@)") > (sequence "MAYBE(m)" "WAITING(w@/!)" "|" "CANCELLED(C@)")) > org-agenda-before-write-hook '(org-agenda-add-entry-text) > org-directory "~/Org" > org-log-reschedule 'time > org-insert-heading-hook '(org-expiry-insert-created) > org-after-tags-change-hook '(org-expiry-insert-created) > org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- > drawers org-cycle-show-empty-lines > org-optimize-window-after-visibility-change) > org-publish-project-alist '(("private-dynamic" :base-directory "~/ > Org/www" :base-extension "org" :publishing-directory > "~/www/private" :publishing-function (org-publish-org-to- > html) :recursive t :author > "David Maus" :email "maus.david@gmail.com") > ("private-static" :base-directory "~/Org/www" :base- > extension "css" :publishing-directory > "~/www/private" :publishing-function org-publish- > attachment :recursive t) > ("private" :components ("private-dynamic" "private-static"))) > org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook > change-major-mode-hook org-show-block-all append local] 5]) > org-refile-targets '((org-agenda-files :maxlevel . 3)) > org-confirm-elisp-link-function 'yes-or-no-p > org-refile-use-outline-path 'file > org-expiry-wait "+3m" > org-log-into-drawer "LOGBOOK" > org-agenda-todo-ignore-with-date t > org-enforce-todo-dependencies t > org-insert-heading-respect-content t > org-occur-hook '(org-first-headline-recenter) > org-from-is-user-regexp "\\" > org-tags-column -120 > org-remember-templates '(("todo" 116 "* TODO %^{Description} %^G > \n :PROPERTIES:\n :Created: %U\n :Ref: %a\n :END:" > "refile.org" bottom nil) > ("appt" 97 > "* %^{Description} :APPT:%^G\n %^T\n :PROPERTIES: > \n :Created: %U\n :Ref: %a\n :END:" > "refile.org" bottom nil) > ("note" 110 "* %^{Description} %^G:NOTE:\n :PROPERTIES: > \n :Created: %U\n :Ref: %a\n :END:" > "refile.org" bottom nil) > ("mail" 109 > "* TODO %^{Action} %:fromaddress: %:subject %^G\n :PROPERTIES: > \n :Created: %U\n :Ref: [[wl:%5B%:message-id%5D~/.elmo/namazu# > %:message-id][%:message-id]]\n :END:\n" > "refile.org" bottom (wl-summary-mode)) > ("link" 108 > "* %c :LINK:%^G\n :PROPERTIES:\n :Created: %U\n :Ref: %:link > \n :END:\n %:initial%!" > "refile.org" bottom nil) > ) > org-expiry-expiry-property-name "Expiry" > org-track-repository-types '(("git" ".git" org-track-repository-git) > ("hg" ".hg" org-track-repository-hg)) > org-expiry-handler-function 'org-toggle-archive-tag > ) > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten