emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org-mode version 6.32trans (release_6.32b.147.g97e21); Cloning subtree on eof may not insert required newline
@ 2009-11-12 19:46 David Maus
  2009-11-12 23:51 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: David Maus @ 2009-11-12 19:46 UTC (permalink / raw)
  To: emacs-orgmode

-- 

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.
------------------------------------------------------------------------

By accident I noticed that if you clone a subtree using C-c C-x c who
or whose content is the last line of the file orgmode inserts the
clone without the desired newline.

example.org
,----
| * Just a test
`----

If you move the point behind test and press C-c C-x c 1 <RET> <RET>
the clone is inserted right behind "test".

example.org
,----
| * Just a test*Just a test
`----

Instead orgmode should insert a newline before inserting the clone
when the file misses an empty line at the end.

Regards,

  --David

Emacs  : GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3)
 of 2009-10-23 on elegiac, modified by Debian
Package: Org-mode version 6.32trans (release_6.32b.147.g97e21)

current state:
==============
(setq
 org-clock-in-switch-to-state "STARTED"
 org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold) ("STARTED" :foreground "gold" :weight bold)
			  ("DONE" :foreground "green") ("NEXT" :foreground "dark orange" :weight bold)
			  ("WAITING" :foreground "MediumPurple1" :weight bold) ("CANCELLED" :foreground "dark red")
			  ("APPT" :foreground "tan1" :weight bold))
 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-after-todo-state-change-hook '(org-clock-out-if-current org-checklist)
 org-agenda-todo-ignore-scheduled t
 org-todo-state-tags-triggers '(("" ("NOTE" . t)) (todo ("NOTE")))
 org-log-redeadline 'time
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 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 "NEXT(n)" "WAITING(w@/!)" "|" "CANCELLED(C@)")
		     (sequence "APPT(a)" "|" "DONE(D@)" "CANCELLED(C@)"))
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-directory "~/Org"
 org-log-reschedule 'time
 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 '((lambda nil
		  (org-add-hook (quote change-major-mode-hook) (quote org-show-block-all) (quote append) (quote local)))
		 )
 org-refile-targets '((org-agenda-files :maxlevel . 3))
 org-confirm-elisp-link-function 'yes-or-no-p
 org-refile-use-outline-path 'file
 org-log-into-drawer "LOGBOOK"
 org-agenda-todo-ignore-with-date t
 org-enforce-todo-dependencies t
 org-occur-hook '(org-first-headline-recenter)
 org-from-is-user-regexp "\\<David Maus\\>"
 org-outline-path-complete-in-steps nil
 org-tags-column -120
 org-remember-templates '(("todo" 116
			   "* TODO %^{Description} %^G\n  :PROPERTIES:\n  :Created: %U\n  :Ref: %a\n  :END:\n\n  %?"
			   "refile.org" bottom nil)
			  ("note" 110
			   "* %^{Description} :NOTE:%^G\n  :PROPERTIES:\n  :Created: %U\n  :Ref: %a\n  :END:\n\n  %?"
			   "refile.org" bottom nil)
			  ("appt" 97
			   "* APPT %^{Description} :APPT:%^G\n  %^T\n  :PROPERTIES:\n  :Created: %U\n  :Ref: %a\n  :END:\n\n  %?" "refile.org" bottom nil)
			  ("mail" 109
			   "* TODO %^{Action} [[wl:%5B%:message-id%5D~/.elmo/namazu#%:message-id][%:from %:subject]] %^G\n  :PROPERTIES:\n  :Created: %U\n  :Ref: [[wl:%5B:message-id%5D~/.elmo/namazu#%:message-id][%:from: %:subject]]\n  :END:\n\n  %?"
			   "refile.org" bottom (wl-summary-mode))
			  ("link" 108
			   "* [[%:link][%:description]] :NOTE:LINK:%^G\n  :PROPERTIES:\n  :Created: %U\n  :Ref: %a\n  :END:\n\n  %?" bottom nil)
			  )
 )
OpenPGP... 0x316F4BE4670716FD
Jabber.... dmjena@jabber.org
Email..... maus.david@gmail.com
ICQ....... 241051416

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Org-mode version 6.32trans (release_6.32b.147.g97e21); Cloning subtree on eof may not insert required newline
  2009-11-12 19:46 Org-mode version 6.32trans (release_6.32b.147.g97e21); Cloning subtree on eof may not insert required newline David Maus
@ 2009-11-12 23:51 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-11-12 23:51 UTC (permalink / raw)
  To: David Maus; +Cc: emacs-orgmode

Fixed, thanks.

- Carsten

On Nov 12, 2009, at 8:46 PM, 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.
> ------------------------------------------------------------------------
>
> By accident I noticed that if you clone a subtree using C-c C-x c who
> or whose content is the last line of the file orgmode inserts the
> clone without the desired newline.
>
> example.org
> ,----
> | * Just a test
> `----
>
> If you move the point behind test and press C-c C-x c 1 <RET> <RET>
> the clone is inserted right behind "test".
>
> example.org
> ,----
> | * Just a test*Just a test
> `----
>
> Instead orgmode should insert a newline before inserting the clone
> when the file misses an empty line at the end.
>
> Regards,
>
>  --David
>
> Emacs  : GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3)
> of 2009-10-23 on elegiac, modified by Debian
> Package: Org-mode version 6.32trans (release_6.32b.147.g97e21)
>
> current state:
> ==============
> (setq
> org-clock-in-switch-to-state "STARTED"
> org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold)  
> ("STARTED" :foreground "gold" :weight bold)
> 			  ("DONE" :foreground "green") ("NEXT" :foreground "dark  
> orange" :weight bold)
> 			  ("WAITING" :foreground "MediumPurple1" :weight bold)  
> ("CANCELLED" :foreground "dark red")
> 			  ("APPT" :foreground "tan1" :weight bold))
> 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-after-todo-state-change-hook '(org-clock-out-if-current org- 
> checklist)
> org-agenda-todo-ignore-scheduled t
> org-todo-state-tags-triggers '(("" ("NOTE" . t)) (todo ("NOTE")))
> org-log-redeadline 'time
> org-export-preprocess-hook '(org-export-blocks-preprocess)
> 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 "NEXT(n)" "WAITING(w@/!)" "|" "CANCELLED(C@)")
> 		     (sequence "APPT(a)" "|" "DONE(D@)" "CANCELLED(C@)"))
> org-agenda-before-write-hook '(org-agenda-add-entry-text)
> org-directory "~/Org"
> org-log-reschedule 'time
> 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 '((lambda nil
> 		  (org-add-hook (quote change-major-mode-hook) (quote org-show- 
> block-all) (quote append) (quote local)))
> 		 )
> org-refile-targets '((org-agenda-files :maxlevel . 3))
> org-confirm-elisp-link-function 'yes-or-no-p
> org-refile-use-outline-path 'file
> org-log-into-drawer "LOGBOOK"
> org-agenda-todo-ignore-with-date t
> org-enforce-todo-dependencies t
> org-occur-hook '(org-first-headline-recenter)
> org-from-is-user-regexp "\\<David Maus\\>"
> org-outline-path-complete-in-steps nil
> org-tags-column -120
> org-remember-templates '(("todo" 116
> 			   "* TODO %^{Description} %^G\n  :PROPERTIES:\n  :Created: %U 
> \n  :Ref: %a\n  :END:\n\n  %?"
> 			   "refile.org" bottom nil)
> 			  ("note" 110
> 			   "* %^{Description} :NOTE:%^G\n  :PROPERTIES:\n  :Created: %U 
> \n  :Ref: %a\n  :END:\n\n  %?"
> 			   "refile.org" bottom nil)
> 			  ("appt" 97
> 			   "* APPT %^{Description} :APPT:%^G\n  %^T\n  :PROPERTIES: 
> \n  :Created: %U\n  :Ref: %a\n  :END:\n\n  %?" "refile.org" bottom  
> nil)
> 			  ("mail" 109
> 			   "* TODO %^{Action} [[wl:%5B%:message-id%5D~/.elmo/namazu# 
> %:message-id][%:from %:subject]] %^G\n  :PROPERTIES:\n  :Created: %U 
> \n  :Ref: [[wl:%5B:message-id%5D~/.elmo/namazu#%:message-id][%:from:  
> %:subject]]\n  :END:\n\n  %?"
> 			   "refile.org" bottom (wl-summary-mode))
> 			  ("link" 108
> 			   "* [[%:link][%:description]] :NOTE:LINK:%^G\n  :PROPERTIES: 
> \n  :Created: %U\n  :Ref: %a\n  :END:\n\n  %?" bottom nil)
> 			  )
> )
> OpenPGP... 0x316F4BE4670716FD
> Jabber.... dmjena@jabber.org
> Email..... maus.david@gmail.com
> ICQ....... 241051416
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-12 23:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-12 19:46 Org-mode version 6.32trans (release_6.32b.147.g97e21); Cloning subtree on eof may not insert required newline David Maus
2009-11-12 23:51 ` Carsten Dominik

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).