From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt 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 08:56:13 +0100 Message-ID: <871s3vf0f6.fsf@polytechnique.org> References: <2880a41f-4ca2-0a6e-7c61-098233cae0e9@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:33569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyXbF-0002pP-Tk for emacs-orgmode@gnu.org; Tue, 26 Feb 2019 02:56:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gyXb9-0000xy-Rq for emacs-orgmode@gnu.org; Tue, 26 Feb 2019 02:56:23 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:12461) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gyXb9-0000va-HN for emacs-orgmode@gnu.org; Tue, 26 Feb 2019 02:56:19 -0500 In-reply-to: <2880a41f-4ca2-0a6e-7c61-098233cae0e9@gmail.com> 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: Gustavo Barros Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; format=flowed 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) Best, Alan --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE6lXof/BsSVW56ZmGBA0KO07S5ccFAlx08R4ACgkQBA0KO07S 5cev1QgAmCajr4HBL0cvsOx0Q7VLQX+GIxd+AX6L8b8jjsdTUCZ4vRG+1wyAsggD KFPgi8liYTUL6yWN28aMCxrUL7yc+clSKiIvCVL1IEA67GalyMAjoc+lsaDa8kqY wmb3GTApTKJRpAS68y3F8S9/FwONWNvf4mxLiBJJe58dMq8Q+V53CTg7RCHYmfye jXTeNlgkG2l696pYHhBdXbO3NNGMiHPzR3Z7zUGSWwF5ktSdm8SLPBikpuKof/DW 289CPtComRGPDxYO1ZzQD/2w6umxiQoySzN2ViAbVFRmvrukplXT16BWZMFY+IGC 8MQhpoTIfXYbId2XNsDXC6Wwt+cxCw== =6hQm -----END PGP SIGNATURE----- --=-=-=--