From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Weird behaviour with org-yank and org-startup-indented Date: Sun, 17 Oct 2010 08:08:38 +0200 Message-ID: <3B1391C6-72E9-4BAA-9197-7B27B26249BC@gmail.com> References: <87bp6vpks7.fsf@keller.adm.naquadah.org> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=34089 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P7MQG-0004YM-PR for emacs-orgmode@gnu.org; Sun, 17 Oct 2010 02:08:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P7MQF-0006Wo-Gh for emacs-orgmode@gnu.org; Sun, 17 Oct 2010 02:08:44 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:63748) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P7MQF-0006Wk-At for emacs-orgmode@gnu.org; Sun, 17 Oct 2010 02:08:43 -0400 Received: by ewy5 with SMTP id 5so1530952ewy.0 for ; Sat, 16 Oct 2010 23:08:42 -0700 (PDT) In-Reply-To: <87bp6vpks7.fsf@keller.adm.naquadah.org> 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: Julien Danjou Cc: emacs-orgmode@gnu.org On Oct 15, 2010, at 4:56 PM, Julien Danjou wrote: > Hi, > > I'm using org 7.01h with Emacs 24 trunk. When I set org-startup-=20 > indented > to t, I observe the following: > > ** TODO Some stuff > > I select "stuff" and press M-w. Then I go the the line under and press > C-y (org-yank). > > Now I got: > > ** TODO Some stuff > ** TODO Some This is bad. As this problem does not exist in Emacs 23 and I have =20 not changed anything in this part of the code, maybe a bug report to =20 EMacs is in order. Will you file one, with the remark that this works =20= fine in Emacs 23? Thanks.! - Carsten > > instead of: > > ** TODO Some stuff > stuff > > Note that after M-w, `kill-ring' has a correct first entry of "stuff": > > (#("stuff" 0 5 > (fontified t face org-level-2)) > ...) > > But on C-y (org-yank) something happens, and it paste the wrong =20 > text. I > think it's trying to be smart but it's not. > > I've found that setting org-startup-indented to nil fix that =20 > behaviour. > > What's wrong? > --=20 > Julien Danjou > // =E1=90=B0 http://julien.danjou.info > > _______________________________________________ > 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