From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MHU0IZSa9l/HagAA0tVLHw (envelope-from ) for ; Thu, 07 Jan 2021 05:22:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2BbvHJSa9l+IUwAAB5/wlQ (envelope-from ) for ; Thu, 07 Jan 2021 05:22:28 +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 15308940485 for ; Thu, 7 Jan 2021 05:22:28 +0000 (UTC) Received: from localhost ([::1]:45152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxNkh-0000zr-13 for larch@yhetil.org; Thu, 07 Jan 2021 00:22:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxNk6-0000zT-2P for emacs-orgmode@gnu.org; Thu, 07 Jan 2021 00:21:50 -0500 Received: from out1.migadu.com ([91.121.223.63]:45164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxNk3-0007hI-J1 for emacs-orgmode@gnu.org; Thu, 07 Jan 2021 00:21:49 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1609996904; h=from:from: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; bh=2IYwef+pDPfllD3IwV4Hm2Y/ijf/i8b2eexbQ/MdrR0=; b=M/Np7hiBJY3lVdk4eOUUjnAIZfMQrWFSj2R45QyT4nh34s+5FPrGeObbiw80GcrFCK9D7F dxtU1GQfZHzNxLH/fEGOKa2soX9t/Mt1TeZJ6xEzSs12ljJg0MTbsVeNtqIBL1y74iAcdj qw65GoDdhyDv94aZ7z91z23WwCiNtal1LRe/rKMEksZ85dGmfkzzipeZQtlDWXjFxk4AkE W2j8QSuFfwIVeCmDKhcoiKtS8AStmyK6Dp/WYjN/mOLpagiSxYsXHWMSovv71IRHAdmnA8 /2pb/DbL7/gYpb02Hf5wRemDiwyyw2sU1KGCgTAiDvHg2NRsODnaZnnRhh/vEw== From: Kyle Meyer To: Vincenzo Pupillo Subject: Re: [BUG] In emacs 28 "when" parameter are mandatory in function define-obsolete-function-alias In-Reply-To: <2193010.ElGaqSPkdT@localhost.localdomain> References: <2193010.ElGaqSPkdT@localhost.localdomain> Message-ID: <87pn2hxqxm.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: kyle@kyleam.com Date: Thu, 07 Jan 2021 05:21:44 GMT Received-SPF: pass client-ip=91.121.223.63; envelope-from=kyle@kyleam.com; helo=out1.migadu.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: , 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-Spam-Score: -2.55 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=M/Np7hiB; dmarc=none; 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: 15308940485 X-Spam-Score: -2.55 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1MaNx/AokzVX Vincenzo Pupillo writes: > Ciao, in emacs 28 (master branch, commit > 32c6732d16385f242b1109517f25e9aefd6caa5c) > define-obsolete-function-alias has "when" parameter mandatory. > The line 376 of org-refile.el raise an error: "Wrong number of arguments: (3 . 4), 2" > > lisp/org-refile.el > 376:(define-obsolete-function-alias 'org-copy 'org-refile-copy) Thanks for reporting. This came up in as well. Fixed by 248dfcd71.