From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.devel Subject: org-agenda-phases-of-moon tries to call wrong function Date: Sun, 16 Apr 2017 16:50:16 +0300 Message-ID: <87k26kqx5z.fsf@iki.fi> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1492350692 904 195.159.176.226 (16 Apr 2017 13:51:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Apr 2017 13:51:32 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: Glenn Morris , Paul Eggert , Carsten Dominik To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 16 15:51:27 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czkaM-0008WQ-9X for ged-emacs-devel@m.gmane.org; Sun, 16 Apr 2017 15:51:26 +0200 Original-Received: from localhost ([::1]:60627 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czkaS-0001HC-7N for ged-emacs-devel@m.gmane.org; Sun, 16 Apr 2017 09:51:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czkZU-0001FO-Cn for emacs-devel@gnu.org; Sun, 16 Apr 2017 09:50:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czkZQ-0007vw-GE for emacs-devel@gnu.org; Sun, 16 Apr 2017 09:50:32 -0400 Original-Received: from mail.kapsi.fi ([2001:1bc8:1004::1:25]:56735) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1czkZQ-0007nE-5t for emacs-devel@gnu.org; Sun, 16 Apr 2017 09:50:28 -0400 Original-Received: from dsl-roibrasgw1-54fb8f-106.dhcp.inet.fi ([84.251.143.106] helo=mithlond.arda) by mail.kapsi.fi with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1czkZF-0004Lx-0W; Sun, 16 Apr 2017 16:50:17 +0300 Original-Received: from dtw by mithlond.arda with local (Exim 4.84_2) (envelope-from ) id 1czkZE-00013w-Hx; Sun, 16 Apr 2017 16:50:16 +0300 X-SA-Exim-Connect-IP: 84.251.143.106 X-SA-Exim-Mail-From: tlikonen@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:1bc8:1004::1:25 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:214000 Archived-At: --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain (Cc'ing to hopefully right people.) Org-agenda-mode has an "M" key for org-agenda-phases-of-moon command which tries to call function calendar-phases-of-moon. That function doesn't exist anymore and should be calendar-lunar-phases instead. The bug is in the master and emacs-25 branches. The attached trivial patch fixes the problem (and I can push it myself if someone gives an OK). --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Fix-org-agenda-s-command-for-calendar-lunar-phases.patch Content-Transfer-Encoding: quoted-printable From=20b8b3d36eb6f5a8134955170657621828c9ebbf32 Mon Sep 17 00:00:00 2001 From: Teemu Likonen Date: Sun, 16 Apr 2017 16:14:22 +0300 Subject: [PATCH] Fix org-agenda's command for calendar-lunar-phases Function org-agenda-phases-of-moon tries to call a non-existing function calendar-phases-of-moon. The correct function is calendar-lunar-phases. =2D-- lisp/org/org-agenda.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el index c870ddd..153e377 100644 =2D-- a/lisp/org/org-agenda.el +++ b/lisp/org/org-agenda.el @@ -9533,7 +9533,7 @@ org-agenda-execute-calendar-command (defun org-agenda-phases-of-moon () "Display the phases of the moon for the 3 months around the cursor date." (interactive) =2D (org-agenda-execute-calendar-command 'calendar-phases-of-moon)) + (org-agenda-execute-calendar-command 'calendar-lunar-phases)) =20 (defun org-agenda-holidays () "Display the holidays for the 3 months around the cursor date." =2D-=20 2.1.4 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJY83aYAAoJEJM6NQQefq1RzEYH/igmIjOtzwJ/6JslwYSelSbh sLTrWvo1HCRBj5bqLJUsySDg7PJ7ZAkzLBrk2L5JxFn9EEtYaVfji3RA2C1pLDJE yidxrlKvZzSBvaoMNE7xWbXAIMt6yGHTMR6I5oVZK0yRORHYRo+yHJ5VNbp+vDY3 0Bi++Ei0XgsmqPIBAzEy+nU6LwDsLSVR43q1EnTu/9pTWGfv3TJ3UZgqmZwW/aZB za36eZaJh04vpX3JyF+j66ehPs0KSkvzzuje8QpPAnmHu8a13SQTp8qF0ar2M+Rp vTKG+woz/SjKDLYHAua4hWkaUTq23CtjTNH8tKIdjE7ZVpaatWDYBzr3W4dE7/E= =HIuh -----END PGP SIGNATURE----- --==-=-=--