From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iPW8C4SDcGJ6EAEAbAwnHQ (envelope-from ) for ; Tue, 03 May 2022 03:21:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wDfuCoSDcGI1YQEAG6o9tA (envelope-from ) for ; Tue, 03 May 2022 03:21:08 +0200 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 C66BA2AF35 for ; Tue, 3 May 2022 03:21:07 +0200 (CEST) Received: from localhost ([::1]:47908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlhDu-0002Qp-Iz for larch@yhetil.org; Mon, 02 May 2022 21:21:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlhDD-0002Qe-JP for emacs-orgmode@gnu.org; Mon, 02 May 2022 21:20:23 -0400 Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]:35524) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlhDC-0007SI-2G for emacs-orgmode@gnu.org; Mon, 02 May 2022 21:20:23 -0400 Received: by mail-qv1-xf2b.google.com with SMTP id kd11so11364419qvb.2 for ; Mon, 02 May 2022 18:20:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=YLrusoTrhU1lKlCjrhkS35d8I4vM0X0vZmbjdD73WSc=; b=Lnz9vTkyNeo87cLcma6IsHz76mbOT267YCny1ulpbVAYp7KsOlxO06o/JYV5eAm3Uc WRqKsorkeWSsVdp/cUEzmdEe34hTw347ElvNs0HZymsSgBCJuuIaF6Ur+Xkh5tkvoWdC OUcVlFsnrbjDEvPebnOA1BnIXukoBlZN0L8X63iHpyAuMCGiE+3xcdyokELlGfwDvh5k SjyJOvmHdkmZY0xXbSBxQtPgoqb6dmINycj3LsGooQvPjJMuBUU0dU77hVZ90WNg7Diu Bd7lslkCt+h25877tWI8Q9bRPPXNyeoprutLlE326fb+sntOptZeAbboWKA8OYOrxtFA RbbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=YLrusoTrhU1lKlCjrhkS35d8I4vM0X0vZmbjdD73WSc=; b=utQBE7Yoe1jJWkbRyH5moUSwCwZU+j0W0uaFS6ivgTHHxSZQqYI3+XljsDlnQ5JDFm BU5GHMv7kr8cVuQ90J+R0sz0XW9eLPLMPqIvWBUqHP8psRJuoGrm1chTdaCHpBspZKCW 95o4ZqO2V3mrVP5k/kXwNdpeKGbXhh7mgXK9Q+VIIBIpBuFKllQMNSUpQ7+PkNIzFa6L N5XeYC4IxOrN3iRa1JczflXR4YC7WDMulmOxhwLUQu+4m9cWNCwVzkG2Dc3nyXX687KO GG+cDEK5/HnaCoB/Xyla+7kvta+JGHt6enREtXIvmXtc7zrl7mPet4HOIatvRQa0VEYN MBAg== X-Gm-Message-State: AOAM533AhxDiOOGh5o56obmW7HmtXqV2YK7grBvhzBj2CasMgr6VoFA8 bUEcm9yT30cVG/c5raFAf+gTEVH82cI= X-Google-Smtp-Source: ABdhPJwr3ITSCS9UBZ5sOaF1d1UjKnqCgYY8CJJ6gX84hJO6t4USUh46nLMPBpOHOYdlIY0W2FPSnw== X-Received: by 2002:a05:6214:e67:b0:441:6ecc:51ae with SMTP id jz7-20020a0562140e6700b004416ecc51aemr12043088qvb.22.1651540820556; Mon, 02 May 2022 18:20:20 -0700 (PDT) Received: from localhost (22.b2.a86c.ip4.static.sl-reverse.com. [108.168.178.34]) by smtp.gmail.com with ESMTPSA id a7-20020a05620a124700b0069fc13ce211sm5017298qkl.66.2022.05.02.18.20.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 18:20:19 -0700 (PDT) From: Ihor Radchenko To: Samuel Wales Cc: Max Nikulin , emacs-orgmode@gnu.org Subject: Re: [Bug] incorrect indent of next heading after org-paste-subtree In-Reply-To: References: <87tuaa6l11.fsf@localhost> <87a6c0vb17.fsf@localhost> Date: Tue, 03 May 2022 09:21:07 +0800 Message-ID: <87ilqnh0n0.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f2b; envelope-from=yantar92@gmail.com; helo=mail-qv1-xf2b.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651540867; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=YLrusoTrhU1lKlCjrhkS35d8I4vM0X0vZmbjdD73WSc=; b=XDWHfntW4iFlTrpaOpREYRWL/lbo+fwL7Ye7ybzozbEloy+3ejJv4R3jHF8W9lupFBNVLF Zi0OL6q3dakbYjUv/F2aplkxkQAgiVGX0QOY3nAjRm/dg4TJO4ktmfddCabQC87NppIYj0 f0k/7VUF6MhnMrW3J4anJq4BfI+fB7nI2XMc+dzvuXOJul1P64/ibwLpu3aqnUNcJBxK5j yCQEWfeMR4gaTYXw07cK+5RapG0DUwZiB6ogLGEt1yOi7KSxQ3bomqUwB6iJPYrsD8Uy9S B+x1h5UQKxFOwptginLnKM5aFIqRI11PDm9Repyc+2qGPWDXwqpIA75rdvzxmg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651540867; a=rsa-sha256; cv=none; b=VAywU45rDePmDEUf5ktkONlDhunkVPuvAsfcx692I8pdMe2YOtXkBD9mbrc+k4Go5ZNM4c V+di377YLKMpvqaQUKka0qdqIptXPN92Nd4bA90McSvvhO5KPTeoddh99XmnNhC9pVkGI7 hzowDfozif+tsuxhC32lFqIN6QdxSu1cGaXEFJqQdNlUi86/zlDe892bG9AZPXwFXW4FQs NYxo1RtTK0oIMWHyPkSrmh4gDOF3VqYV3p5facCPWcGOkl69zqrOS8GnEFHYDAr38hMMoM 0b9zmLIfpYfs96lb+bzBPLK3Ytlvr0diAlJuqTG54V3/gCjShWu5BdkF2wvxNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Lnz9vTky; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.98 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Lnz9vTky; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C66BA2AF35 X-Spam-Score: -1.98 X-Migadu-Scanner: scn1.migadu.com X-TUID: +XpIwGgS6E/K Samuel Wales writes: > that sounds like great debugging ability. was this using edebug or something? Just good old debug-on-entry. Nothing fancy. Best, Ihor