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: Sun, 26 Oct 2008 07:30:39 +0100 Message-ID: <973CD8B2-1E07-457E-BA70-16F3EAFE892C@uva.nl> References: <20524da70810252137k1545b20bobbf162360dc251ad@mail.gmail.com> 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 1Ku29n-00051D-DD for emacs-orgmode@gnu.org; Sun, 26 Oct 2008 05:43:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ku29l-0004zG-Rs for emacs-orgmode@gnu.org; Sun, 26 Oct 2008 05:43:35 -0400 Received: from [199.232.76.173] (port=60037 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ku29l-0004z2-MX for emacs-orgmode@gnu.org; Sun, 26 Oct 2008 05:43:33 -0400 Received: from mx20.gnu.org ([199.232.41.8]:46623) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ku29l-00021G-A6 for emacs-orgmode@gnu.org; Sun, 26 Oct 2008 05:43:33 -0400 Received: from ey-out-1920.google.com ([74.125.78.150]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ktz9B-0006NM-2x for emacs-orgmode@gnu.org; Sun, 26 Oct 2008 02:30:45 -0400 Received: by ey-out-1920.google.com with SMTP id 4so689979eyg.24 for ; Sat, 25 Oct 2008 23:30:43 -0700 (PDT) In-Reply-To: <20524da70810252137k1545b20bobbf162360dc251ad@mail.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: Samuel Wales Cc: emacs-orgmode@gnu.org 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 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) > > > _______________________________________________ > 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