From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SNIiCWuYOWA4PwAA0tVLHw (envelope-from ) for ; Sat, 27 Feb 2021 00:55:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mIb/BGuYOWCCWgAAbx9fmQ (envelope-from ) for ; Sat, 27 Feb 2021 00:55:07 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7A83C13EAD for ; Sat, 27 Feb 2021 01:55:06 +0100 (CET) Received: from localhost ([::1]:53942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFnsv-0001nP-E4 for larch@yhetil.org; Fri, 26 Feb 2021 19:55:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFnsW-0001nC-Cx for emacs-orgmode@gnu.org; Fri, 26 Feb 2021 19:54:40 -0500 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]:38489) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lFnsU-0005Nv-Uh for emacs-orgmode@gnu.org; Fri, 26 Feb 2021 19:54:40 -0500 Received: by mail-lj1-x22b.google.com with SMTP id 2so8124774ljr.5 for ; Fri, 26 Feb 2021 16:54:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=uUhjhXpS32eBmxuWFCGOe7C7xypzScVDdDBPA9F9920=; b=FUat1Eedi2YTG8qyEqOKcdo2YUma3HdeRQE3xbhVWQYl0FfvglIsAOC0IN/rasvJJj /sujmBunO9NYbcTy1/cLbrsL596a3C8C8J1fwXVMtykN10Vbf7poeFFobiZLv5N4R08H CGHl262e2qyLLP3mjioFSR1YqL6MBij/+lw6r0o52OkFJ0Juuz7wayHqR1J2+0i1fsbY 8LaS3LQLfGYj7NQsQZacEFLrMYO+chY3PywfxL4mlwNG9ARt816Yj3s8qpEjFIeukvgw 9kBSaCGzw3Y5J/51TKKHr/TZZ51yREjXRcvfmyR+nVKE3xUSkwcLSaxviOZlIRcl3QiZ r79w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=uUhjhXpS32eBmxuWFCGOe7C7xypzScVDdDBPA9F9920=; b=qzuxKtGLfWHwQGARva3ozkx7B+qK26ri/O6I62ogAARcubYLDIdvOH5uJ9j6uHWxIy QMHrxqwukoPiJpP0eicFGfUiRJOkQa3zDatCIU/RX/KHh6uMzeL9jokk1jGnnDM7Tk4f cJj/q9eLx+9cmKTTQj/5e2qXYsePZQ7AdHoQE9EDKWvSGpUiGw1rIm2UPUQ/EiAmYtro iBlVJ7swSXjV1I0WsmcGSnElbuYc/8ttaYXDA07fDIfbXYLi9mjazoqYANZoVJn1FOY8 3zNqmHb8+G/HAAtawtk6onqICyqyqbXslQWLjKy4Cl4DtRKAlVvQiFNo5mBApeIjdBhN pggg== X-Gm-Message-State: AOAM532jGl28Kzf4++lv0T1gTfJ6v4iz86kaQy6gcxcWZ0+UkkBFCImi Gj73NRXcbS8dMELw7d4lRE6Cm1BqjY8EZoR4/F39p8WwK4BEcg== X-Google-Smtp-Source: ABdhPJyJQ5b+iXLuR8KJMDM7KeNkbpoN4zRmFEbovsZ0MvLH7MZPk5My95NzinVt7FqSCPlVH+HUuNdTFJsKhPPrcaM= X-Received: by 2002:a2e:760d:: with SMTP id r13mr2993106ljc.223.1614387276941; Fri, 26 Feb 2021 16:54:36 -0800 (PST) MIME-Version: 1.0 Received: by 2002:ab3:7842:0:0:0:0:0 with HTTP; Fri, 26 Feb 2021 16:54:36 -0800 (PST) In-Reply-To: References: From: Samuel Wales Date: Fri, 26 Feb 2021 17:54:36 -0700 Message-ID: Subject: Re: [bug] org-yank in stars corrupts outline To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::22b; envelope-from=samologist@gmail.com; helo=mail-lj1-x22b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1614387306; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=uUhjhXpS32eBmxuWFCGOe7C7xypzScVDdDBPA9F9920=; b=e22WqfzjJeNJpkhtsoezYIxl0H2/dRYtt2izc6zRFFfZHQMcADlYC4BqpyfHmFmwsZUF+1 ziyfyDxiZ4DoW+OMZPkntqj9pRhXbxu5iXtQFOpSt8Jp8Vi8xt4vt1qjUncfaR3/Sk0sdt JDPXxGAxzRDuVmL0CwfOf8EDw7BQ5ypFX62sW1umQ+r86rX4NniEXGHbFZ+J0mQFI8UZ9q DtcLUth5CXC+a6jpy9sxmfSAFCmbO4d0vzOJiUwAedGf+7Ik7DRJzXWg6BrnuAnH92iO9d JWISLCGeDFbOwyxW+Y3s12W5bbmuKLHEfgAy8y5Rvp1I2pWb8SJs+7ftAVWABg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614387306; a=rsa-sha256; cv=none; b=K4gYeRUdqZzee4Km9DJZXveGjNZ9SYajoSGuW30sM1Vmk6CG6Lc32nZyz5e8wif2WDYHlN qI8P759QUXqjvDM8aNHC7YwPixSwloNS8t4XcTjbFTbqQcU3y+NbdAVpIGn4BS2TXSxY25 8tKpsht4vHVSKQ0L7FOMfLZ1+1UDA0cnSrOcD0JJYl6JaQS/xk7/aJtOoeBUxXmc1jY8+N RXSP6X2dKyGnFiwkQC89xT9OkeLjpcj6sbHzuz89QYSL6XKlpnhcaM3oxBtvie/aHkx+VO oXhXKKdn+1tNwI7BGhJaWlXQLot3t1AmaXopF1F/QVUwHjxtFvoD4NuB0sSN4g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=FUat1Eed; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.07 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=FUat1Eed; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 7A83C13EAD X-Spam-Score: -3.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: gCdcob2RUdHD *** kill any header (with newline) then try yanking in various places in the stars of any indented header that has things above it. you should get multiple demotions that do not conform to outline. On 2/26/21, Samuel Wales wrote: > it is neither raw yank behavior nor org syntax > > in recent maint > > i have org-yank-adjusted-subtrees t > > * org-yank is funny > *** kill this line (with newline) then try yanking at ^ places (remove > the ^ first) > the fault lies in the stars > insertion above and arbitrary demotion > *** x > asdfnaksdj fnkadsn fkjans df > ^a^sdkfjnaksdfn kajsndfk ajdnsf > askdjfkasjdn fkajfdns > *^*^* y > *** [[https://go^ogle.com]] > -- The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html