From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Can't access org agenda custom command [9.2.1 (9.2.1-33-g029cf6-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20190225/)] Date: Tue, 26 Feb 2019 09:14:07 +0100 Message-ID: <87ftsbdl0w.fsf@nicolasgoaziou.fr> References: <2880a41f-4ca2-0a6e-7c61-098233cae0e9@gmail.com> <871s3vf0f6.fsf@polytechnique.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyXsU-0006QC-0w for emacs-orgmode@gnu.org; Tue, 26 Feb 2019 03:14:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gyXsT-0001q7-Cl for emacs-orgmode@gnu.org; Tue, 26 Feb 2019 03:14:14 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:55163) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gyXsT-0001ju-66 for emacs-orgmode@gnu.org; Tue, 26 Feb 2019 03:14:13 -0500 In-Reply-To: <871s3vf0f6.fsf@polytechnique.org> (Alan Schmitt's message of "Tue, 26 Feb 2019 08:56:13 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Alan Schmitt Cc: emacs-orgmode@gnu.org, Gustavo Barros Hello, Alan Schmitt writes: > On 2019-02-26 02:19, Gustavo Barros writes: > >> I've been having trouble with my custom agenda commands since the >> latest >> update. >> >> The agenda dispatcher used to work fine until the last update, but >> now, >> given one of my custom agenda commands, it issues the error >> "org-agenda-get-restriction-and-command: Wrong number of arguments". > > I think the problem is on line 3036 of org-agenda.el. The code > > (propertize match nil 'face 'org-warning)) > > should be > (propertize match 'face 'org-warning)) > > (I changed it locally and it now works) This was fixed yesterday. Regards, -- Nicolas Goaziou