[Orgmode] feature request: org-yank to call org-paste-subtree

2008-10-25 Thread Samuel Wales
I am not up to coding this, but here is the defcustom. (defcustom org-yank-adjust nil "Non-nil means that, where possible, org-yank will call org-paste-subtree instead of yank. This adjusts the level of the yank to avoid swallowing succeeding headlines." :group 'org-edit-structure :type 'bo

Re: [Orgmode] feature request: org-yank to call org-paste-subtree

2008-10-26 Thread Samuel Wales
I find that org-paste-subtree works perfectly all the time for headlines, and that org-yank does not work for headlines any time the levels are wrong. But I just started using them. Approximate and prob wrong: (defun org-yank-possibly-adjusted () (save-excursion (if (and org-yank-adjust (o

Re: [Orgmode] feature request: org-yank to call org-paste-subtree

2008-10-26 Thread Carsten Dominik
Hi Samuel, this is a very interesting idea, but I fear that in practice it might be too magic and cause side effects in places you'd would not want them. I need to think more about this, comments are welcome. - Carsten On Oct 26, 2008, at 5:37 AM, Samuel Wales wrote: I am not up to coding

Re: [Orgmode] feature request: org-yank to call org-paste-subtree

2008-10-28 Thread Carsten Dominik
Hi Samuel, this is not the default behavior in the latest git, below is the preliminary documentation. Depending on the reactions I get, I might still turn this off by default. However, I like it and will keep it on. Thanks! - Carsten

Re: [Orgmode] feature request: org-yank to call org-paste-subtree

2008-10-28 Thread Carsten Dominik
On Oct 28, 2008, at 9:10 AM, Carsten Dominik wrote: Hi Samuel, this is not the default behavior in the latest git, below this is *now* the default. might become a typist in my next life, but not in this one.. :-( is the preliminary documentation. Depending on the reactions I ge

Re: [Orgmode] feature request: org-yank to call org-paste-subtree

2008-10-28 Thread Manish
Hi Carsten, Latest update from git throws this and aborts compilation; both under Windows+Cygwin and Debian Unstable. Do I need any pre-requisite package? ,[ org compile error while "make" ] | In end of data: | org-bibtex.el:205:1:Warning: the following functions are not known to be | de

Re: [Orgmode] feature request: org-yank to call org-paste-subtree

2008-10-28 Thread Carsten Dominik
Fixed, thanks. It was a typo in the package name. But I have now actually removed the dependence on the package. - Carsten On Oct 28, 2008, at 9:32 AM, Manish wrote: Hi Carsten, Latest update from git throws this and aborts compilation; both under Windows+Cygwin and Debian Unstable.

Re: [Orgmode] feature request: org-yank to call org-paste-subtree

2008-10-31 Thread Samuel Wales
Thanks, Carsten, I look forward to trying it in the next release. ___ 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

Re: [Orgmode] feature request: org-yank to call org-paste-subtree

2008-11-13 Thread Samuel Wales
Another enhancement here would be getting yank-pop to work. ___ 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

Re: [Orgmode] feature request: org-yank to call org-paste-subtree

2008-11-13 Thread Samuel Wales
Ah, meant to say, works great. :) ___ 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

Re: [Orgmode] feature request: org-yank to call org-paste-subtree

2008-11-13 Thread Carsten Dominik
On Nov 13, 2008, at 11:32 PM, Samuel Wales wrote: Another enhancement here would be getting yank-pop to work. OK, I made it work, but yank-pop will not adjust tree levels or fold. This would be complex to implement, and I am not confident I can do this right. - Carsten