From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GJxbHSy4W2QdeAEASxT56A (envelope-from ) for ; Wed, 10 May 2023 17:28:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4Nl0HCy4W2TzAwEAG6o9tA (envelope-from ) for ; Wed, 10 May 2023 17:28:44 +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 1D14B33205 for ; Wed, 10 May 2023 17:28:44 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwljN-00050z-A9; Wed, 10 May 2023 11:27:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwljL-00050c-W6 for emacs-orgmode@gnu.org; Wed, 10 May 2023 11:27:52 -0400 Received: from netyu.xyz ([152.44.41.246] helo=mail.netyu.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwljK-0007k3-9W for emacs-orgmode@gnu.org; Wed, 10 May 2023 11:27:51 -0400 Received: from fw.net.yu.netyu.xyz ( [222.248.4.98]) by netyu.xyz (OpenSMTPD) with ESMTPSA id 65858ba9 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 10 May 2023 15:27:48 +0000 (UTC) References: User-agent: mu4e 1.11.3; emacs 30.0.50 To: Oliver Epper Cc: emacs-orgmode@gnu.org Subject: Re: refiling heading onto itself Date: Wed, 10 May 2023 23:22:53 +0800 In-reply-to: Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=152.44.41.246; envelope-from=ruijie@netyu.xyz; helo=mail.netyu.xyz 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, 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: , Reply-to: Ruijie Yu From: Ruijie Yu via "General discussions about Org-mode." Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683732524; a=rsa-sha256; cv=none; b=sqGWRmuhhjAj/+2ML9Ukk3R5VJGkZ1BwFonF1Z2UytC+IT2LzkrM0TGALu68XrXT/2v+Zm L+1ZXq/0KiArSkQOGHgIVMUAEsJ5qGT6dpHhsEdGOLI4CiX/EJ0v1q8tigEyz4rOPeB3Zl L6eyAmY4VBRAFAZ2dkUAmWc22ddIUgtnPASFtgK+WtFlChPNgYhq9H3s5s10PGk2EON8IG YY+vMzmF+D1hegZ4XbEK4JPXolGv6nw9qwda4Q+IWA4VYY6MD2od+HeWXGdDfZLixNXSBr xkN4lqvKHSbkOgQ9BA6kU66GvTMgz5hfmMgvkYYUg6rYErJO5x8TTVcQjIrsnQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683732524; h=from:from:sender:sender:reply-to: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; bh=xlNX+DPGme2pGpjQjL5eHnq8RdO1cxlKlcvojqrqFP4=; b=oXV9p+c4NLlMufbR/gEYfkrfYG+6HaXDWpWorQ8664fi1jOt2rwzPquxXU8yc+1rekyxt6 PyMSsWC5qtDgDSp6+iB/jxl2tCnliEFFVnDiap9vpzOJmwLhJMBVsGuJ+RfU36JZLhnQGv 5aG6vcvM81aDrRX4UDmoVdgeQ8oKN6ZcmNQ+KntmQM57OgTZA+s09wBgiUsXv2Zq7y2dr1 I4nh75GdWvAMEy2gfnYjcj6svJ1C4XSjC/EPywt+BJyj5EkLvR9RexOVrza8qtjQh+dFtt WpinnLwT0cbzbXLOrG5uVrq/doAhXtUdlc+PtuKCYFqfu0iYHqzJJLbr7V/RLA== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: -3.48 X-Spam-Score: -3.48 X-Migadu-Queue-Id: 1D14B33205 X-TUID: 1OWZiEYlhzlQ Oliver Epper writes: > When choosing the very same heading that is going to be refiled as its target the message buffer states success but the heading is gone. This is > version 9.5.5 of org-mode with emacs 28.2 > > -*- mode: org -*- > * one > * two > * three > > Try refiling two and choose two as the target. Result when started with emacs -Q is: > > * one > * three > > no error message. > > greetings > Oliver Epper Reproducible in built-in Org from 28.2 ("Org mode version 9.5.5 (release_9.5.5 @ /opt/src/emacs/base/emacs-28.2/lisp/org/)"). Also reproducible in built-in Org from recent master ("Org mode version 9.6.5 (release_9.6.5-3-g2993f4 @ /usr/share/emacs/30.0.50/lisp/org/)"). Didn't test the main branch -- haven't pulled in a few days and it is too late today. HTH. Two problems I found in a hurry: (1) refiling "two" into "two" make the entire thing gone. (2) the completiong system shouldn't even provide "two" as a completion candidate. -- Best, RY