From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cxx/ImaEn2BzMgEAgWs5BA (envelope-from ) for ; Sat, 15 May 2021 10:20:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SIdyHWaEn2ClYgAAbx9fmQ (envelope-from ) for ; Sat, 15 May 2021 08:20:54 +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 03E391EFA0 for ; Sat, 15 May 2021 10:20:54 +0200 (CEST) Received: from localhost ([::1]:51468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhpXZ-0003mT-50 for larch@yhetil.org; Sat, 15 May 2021 04:20:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhpWv-0003ge-9l for emacs-orgmode@gnu.org; Sat, 15 May 2021 04:20:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37640) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhpWu-00085n-Jz; Sat, 15 May 2021 04:20:12 -0400 Received: from [78.194.183.21] (port=48688 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhpWu-0005Rq-8H; Sat, 15 May 2021 04:20:12 -0400 Received: by guerry (Postfix, from userid 1000) id 07E7A1A60EA9; Sat, 15 May 2021 10:20:10 +0200 (CEST) From: Bastien To: satotake Subject: Re: [PATCH] org-refile.el: Fix the case of emtpy buffer name In-Reply-To: <20210513182052.2798-2-doublequotation@gmail.com> (satotake's message of "Fri, 14 May 2021 03:20:52 +0900") Organization: GNU References: <20210513182052.2798-1-doublequotation@gmail.com> <20210513182052.2798-2-doublequotation@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Sat, 15 May 2021 10:20:10 +0200 Message-ID: <87im3kcssl.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain 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: , Cc: manikulin@gmail.com, emacs-orgmode@gnu.org 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=1621066854; 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; bh=OKY9mHmhBWXXIkueXwkG6F9O5TI/3zK7H9fPu+8ut7M=; b=SALnoc84U7SUIly/RKCHvTDqw57TzWVsZE9kPIq8iITE4urWiXNWaz8t7rQ/xmtBijgjs5 OAJqctyUKRnyXnBzlhh/PoRyqMW/bLCMPdE0vlDNitDYr5AIJ0Fjla1JPm0Pvp61od0FpD DFbiAlsH3/9cGePs3s52z/KviEgM8HJbSoaszQK3S9S4rXtiFXapl7f8kP8k01d04qEOeo DvCedBtVuR52O7+wrl/BesC8aMTOQPRnrngXi8FtKmxxZWOQ0yTT7ie6z35nWpNFe455kc Oz+phR4qi32K16pPs8J3rMMsGXWVZQb02LihJv+BlR7vUiroxIk55XGWU3pctA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621066854; a=rsa-sha256; cv=none; b=euQReYWo92GBncbsj4afJVkrV8lqVpPAvZMQNdpvmXxTBQsrFTOxuflN+ryhPaU3SPpI43 I697iyk7qW3uD96W4Je0oc8bETofQPDubD8EPlZAqB/ltmmtY00NtcwQ3nLR448NWnDcNt ZZ3asV4HGKZfw3foxbpCR2R9r6XjDFudRYAK4M/7JxP9DXNXout/ZtUkLMOIp5iXe/772m OVwfD6jKoMvhXrGJ2YRj488Hst/dpF4Es3zG9uN6u+6m6NGHLT5lrtNvDCvDIQHQTHG7Lq W90F9XayN1FJtUF6szwNX36VaxjXwcOR0gfc4u1546/MBSzqdLbKOTjl/ixo7g== 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@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.95 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@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 03E391EFA0 X-Spam-Score: -2.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: qmFMIjNFKXaE Hi, satotake writes: > * lisp/org-refile.el (org-refile-get-targets): Ensure > arg of `file-name-non' and `file-truename' is non-nil. > > If you set `org-refile-use-outline-path' `file' or `full-file-path', > and call `org-refile' in the buffer before visiting file, > errors are raised at these point. To fix them, > check if they are nil or not. > > TINYCHANGE Applied in maint as d285831af with a slightly updated commit message, thank you. -- Bastien