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 ms5.migadu.com with LMTPS id lSGBKKVnYWKGSgAAbAwnHQ (envelope-from ) for ; Thu, 21 Apr 2022 16:18:13 +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 2NNVJqVnYWLoLgEAG6o9tA (envelope-from ) for ; Thu, 21 Apr 2022 16:18:13 +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 3C27516A9F for ; Thu, 21 Apr 2022 16:18:13 +0200 (CEST) Received: from localhost ([::1]:59384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhXdL-0006GV-Rw for larch@yhetil.org; Thu, 21 Apr 2022 10:18:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhXGl-0003KE-Ps for emacs-orgmode@gnu.org; Thu, 21 Apr 2022 09:54:51 -0400 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:35513) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhXGk-0006iE-46 for emacs-orgmode@gnu.org; Thu, 21 Apr 2022 09:54:51 -0400 Received: by mail-pl1-x62a.google.com with SMTP id b7so4945589plh.2 for ; Thu, 21 Apr 2022 06:54:49 -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=O0OmLBK43iBi7OITgpBup1d0lTsmE4WHS5YiL/9fXWA=; b=hW61tdQW7R7TQbHbLE1wDdzKkIp5HEVZgLIgkYwC8pLHdIrDNp0Tzz5h+MjKn1h3ao EY1zSAV8J88pwvfESSvgLmym6quCtobUh97CzuFeiyqPX1yEquq9upVccDwDXt+74exu 6JaNp8ivJ5vYOkxQifFAAkPMb56Cl9/jal+CfSlPhKnRO2ZXoJMOlrfl2mu66UWjm/b+ +/KK5tNrNJQDrALFFiuolVqmq3dRSFVOaNbhXxbUqlyJ1sBcO4OGwDAOnUWazNGC+W2u iAAufoUyl0BmEZgeUEH18e5fFvyFoGXwLSWecr4vKzH8q3t+BpGBWemppd5Y8ZnJeAl9 l6dw== 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=O0OmLBK43iBi7OITgpBup1d0lTsmE4WHS5YiL/9fXWA=; b=EsYC0n/cVIuG8HpQD5mAYtlwSYZUZAfbm7D6sdwloEpUzdRWpS3xm//p7bAfclwN3C fo6/dlFeeRgAgE0KsTw74VpTU0CZIaiOWge/oCbrz6auctvQ5XZ1NTpe/y9QYiKIn5F2 2V4LxoC4guaE7YiSruivm3U7L7ITQPowIPNWsgjrzG0DUYg/ZggMd/ScMkASYryWir37 bjqgELGbltKJa0N3M2vJNxVP4AJeScgUqNq3IYsRRNHd2B3MArFW34UFywGANwgqzzoz bAFfdq2x9vrkusHfQuS7eniP4/vdaiOu0IPqYw7qyLq6NUWmcXv75MQO/TRPmrqX3d8C a3oQ== X-Gm-Message-State: AOAM533xHLDpGxY/wdmsi12lBhaZBytmGjz5HHmy2uWurdGEz67CA4Fm TnOl0AY56YvLySnJpcy4mivoQqqeKnpy7g== X-Google-Smtp-Source: ABdhPJw6KNbkR3N4Y2BZqfx+PTjJnXsaNAQeJZzbz2CawBiO6IwEh9yZ8t066YQAF4oFE7FvwMmF+Q== X-Received: by 2002:a17:90b:1a8a:b0:1d2:e42f:9993 with SMTP id ng10-20020a17090b1a8a00b001d2e42f9993mr10632469pjb.68.1650549288645; Thu, 21 Apr 2022 06:54:48 -0700 (PDT) Received: from localhost ([64.32.23.62]) by smtp.gmail.com with ESMTPSA id 1-20020a17090a0d4100b001cd4989fedasm3019303pju.38.2022.04.21.06.54.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Apr 2022 06:54:48 -0700 (PDT) From: Ihor Radchenko To: Kambiz Darabi Subject: Re: Small patch for org-refile In-Reply-To: <87pmlazrwd.fsf@kd-tux.m-creations.int> References: <87pmlazrwd.fsf@kd-tux.m-creations.int> Date: Thu, 21 Apr 2022 21:55:40 +0800 Message-ID: <874k2mzgkj.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62a.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: , Cc: emacs-orgmode@gnu.org 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=1650550693; 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=O0OmLBK43iBi7OITgpBup1d0lTsmE4WHS5YiL/9fXWA=; b=nEpZA89WubYbWLqtFMdtZCQMKlejWliQkLwdD+f3pM4mHUbEvwdmBrwGhlkvW5/giIfb0C 5mMUB//nEiVPuCV5/EqpNwns5m7iKAMNnNEDxa8tHxIV5Ad/r48NXnWqQlXkgR85cOOksH fhkoMaBZ9ruq8Gfm4rtsJGRc6BxskZYrUUBMI+k1Yaqq5fE9hcyiHbYSIT7bvPDzmAB4di OC7zGdyX2943cYgfDcTl2K6/PtnRbZq38lXVIwnP9hA9870MqqeFs9/TmxZ/j5AuSPz9jR THrC7fBLvsLOkq2lGjWXZt12cRGEPoMDeF6Sb382qKJyMO7bxVK0sPXZhe7grg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650550693; a=rsa-sha256; cv=none; b=Vx/X1Ziyrfqku858KsVrXOBeOnwaKU3CnYDDynYnJ2fD3Y0ExxA0OI3mndE0eL0WHC5Nc0 poU+jKpoMGRdPkEEZvopwXHbiXvihj2TvC46oOrYc+tq//cqnr/0zAFQiaJr2JNrsOsFCA RUeOJ04qjwhnOF4hgu9HnG5922xkeyD/1yifHGtRp4HVx3ZBhzm5uMzXVfQFmbx5lx+MtD NTMPblLSvhzMKaBucdzuR+Nv2iWowCGcuwL6SI04UyGzzffyNSAgkFs9GcRrxfnTGMfhJY Jcn0qmm4NAWR5gz0bJT0oaw8RkatdxnxwqRhdBiQiLhQVZFdHSgDnus86AimYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=hW61tdQW; 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: -9.34 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=hW61tdQW; 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: 3C27516A9F X-Spam-Score: -9.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: fchXA26kLyUv Kambiz Darabi writes: > I recently switched to Emacs 28 and stumpled upon a call in org-refile to > define-obsolete-function-alias which doesn't have the 'when' parameter. > As Emacs 28 has made the 'when' parameter mandatory, this is a problem > for me. > > Attached is a tiny patch against the git repo which I cloned today which > resolves the problem. > > Thanks for your great work Are you sure that you cloned the repo we mention at https://orgmode.org/? The change you are suggesting is already in Org 9.5.3 and that alias has been moved to org-compact.el long time ago. Best, Ihor