From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: feature request: org-yank to call org-paste-subtree Date: Tue, 28 Oct 2008 09:53:19 +0100 Message-ID: References: <20524da70810252137k1545b20bobbf162360dc251ad@mail.gmail.com> <53B484C4-7935-423F-85B2-BE0032E8A395@uva.nl> Mime-Version: 1.0 (Apple Message framework v929.2) 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 1KukKr-0006SU-Di for emacs-orgmode@gnu.org; Tue, 28 Oct 2008 04:53:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KukKp-0006Rl-E4 for emacs-orgmode@gnu.org; Tue, 28 Oct 2008 04:53:56 -0400 Received: from [199.232.76.173] (port=60232 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KukKo-0006RS-Kh for emacs-orgmode@gnu.org; Tue, 28 Oct 2008 04:53:54 -0400 Received: from postduif.ic.uva.nl ([145.18.40.180]:54192) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KukKo-0000oh-1s for emacs-orgmode@gnu.org; Tue, 28 Oct 2008 04:53:54 -0400 In-Reply-To: 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: Manish Cc: emacs-orgmode@gnu.org 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. 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 > | defined: bibtex-beginning-of-entry, bibtex-parse-entry, > | bibtex-generate-autokey, bibtex-url > | Wrote /home/zms/elisp/org-mode.git/lisp/org-bibtex.elc > | emacs -batch -q -eval "(progn (add-to-list (quote load-path) > (expand-file-name \"./lisp/\")) (add-to-list (quote load-path) > \"/usr/local/share/emacs/site-lisp\"))" -f batch-byte-compile > lisp/org-clock.el > | > | In toplevel form: > | lisp/org-clock.el:1045:1:Error: Cannot open load file: timestamp > | make: *** [lisp/org-clock.elc] Error 1 > `---- > > Regards, > -- > Manish > > > On Tue, Oct 28, 2008 at 1:46 PM, Carsten Dominik wrote: >> >> 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 get, >>> I might still turn this off by default. However, I like it >>> and will keep it on. >>> >>> Thanks! >>> >>> - Carsten >>> >>> >>> --------------------------------------------------------------------- >>> When yanking a cut/copied subtree or a series of trees, even >>> the nomal yank key `C-y' does now adjust the level of the tree >>> to make it fit into the current outline position, without >>> loosing its identity, and without swallowing other subtrees. >>> >>> This uses the command `org-past-subtree'. An additional >>> change in that command has been implemented: Normally, this >>> command picks the right outline level from the surrounding >>> *visible* headlines, and uses the smaller on. So it the >>> cursor is between a level 4 and a level 3 headline, the tree >>> will be pasted as level 3. Now, if the cursor is actually >>> *at* the beginning of a headline, the level of that headline >>> will be used. So lets say you have a tree like this: >>> >>> * Level one >>> ** Level two >>> (1) >>> (2)* Level one again >>> >>> with (1) and (2) indicating possible cursor positions for the >>> insertion. When at (1), the tree will be pasted as level 2. >>> When at (2), it will be pasted as level 1. >>> >>> If you do not like `C-y' to behave like this, configure the >>> variable `org-yank-adjusted-subtrees'. >>> -------------------------------------------------------------------- >>> >>> On Oct 26, 2008, at 5:37 AM, Samuel Wales wrote: >>> >>>> 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 'boolean)