GNU bug report logs - #59879
30.0.50; [PATCH] Silencing the compiler about obsolete `org-show-entry'

Previous Next

Package: emacs;

Reported by: Arash Esbati <arash <at> gnu.org>

Date: Wed, 7 Dec 2022 10:30:02 UTC

Severity: normal

Tags: fixed, patch

Found in version 30.0.50

Fixed in version 29.1

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59879 in the body.
You can then email your comments to 59879 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#59879; Package emacs. (Wed, 07 Dec 2022 10:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arash Esbati <arash <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 07 Dec 2022 10:30:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: emacs-bugs <bug-gnu-emacs <at> gnu.org>
Subject: 30.0.50; [PATCH] Silencing the compiler about obsolete
 `org-show-entry'
Date: Wed, 07 Dec 2022 11:29:03 +0100
Hi all,

compiling from master (82849f9a20) shows the following warning:

  In gnus-icalendar--show-org-event:
  gnus/gnus-icalendar.el:606:8: Warning: `org-show-entry' is an obsolete
  function (as of 9.6); use `org-fold-show-entry' instead.

The following change fixes the issue:

--8<---------------cut here---------------start------------->8---
diff --git a/lisp/gnus/gnus-icalendar.el b/lisp/gnus/gnus-icalendar.el
index 1bffdf3513..f3665c3f1a 100644
--- a/lisp/gnus/gnus-icalendar.el
+++ b/lisp/gnus/gnus-icalendar.el
@@ -603,7 +603,7 @@ gnus-icalendar--show-org-event
     (when file
       (switch-to-buffer (find-file file))
       (goto-char (org-find-entry-with-id (gnus-icalendar-event:uid event)))
-      (org-show-entry))))
+      (org-fold-show-entry))))


 (defun gnus-icalendar--update-org-event (event reply-status &optional org-file)
--8<---------------cut here---------------end--------------->8---

The change applies also to emacs-29 branch in case it should be fixed
there.

Best, Arash




Added tag(s) fixed. Request was from Arash Esbati <arash <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 10 Dec 2022 22:04:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 29.1, send any further explanations to 59879 <at> debbugs.gnu.org and Arash Esbati <arash <at> gnu.org> Request was from Arash Esbati <arash <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 10 Dec 2022 22:04:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 08 Jan 2023 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 162 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.