GNU bug report logs -
#61546
[PATCH] Fix some org functionality breaking upon changing `calendar-buffer'
Previous Next
Reported by: Thuna <thuna.cing <at> gmail.com>
Date: Thu, 16 Feb 2023 06:03:02 UTC
Severity: normal
Tags: patch
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Thuna <thuna.cing <at> gmail.com> writes:
> Some code in org seems to break when calendar-buffer is modified, as
> they rely on it being its default value, "*Calendar*". The attached
> patch fixes that. I haven't tested it, however, it should work fine.
> The `require's all seem correct as well.
I now applied an equivalent patch onto main in Org.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=9ea50ca21
Stefan, please note that part of the patch is for Emacs:
test/lisp/calendar/cal-julian-tests.el
> diff --git a/test/lisp/calendar/cal-julian-tests.el b/test/lisp/calendar/cal-julian-tests.el
> index e0d74e8a6cd..4207d1ee285 100644
> --- a/test/lisp/calendar/cal-julian-tests.el
> +++ b/test/lisp/calendar/cal-julian-tests.el
> @@ -47,7 +47,7 @@ with-cal-julian-test
> (progn
> (calendar)
> ,@body)
> - (kill-buffer "*Calendar*"))))
> + (kill-buffer calendar-buffer))))
>
> (ert-deftest cal-julian-test-goto-date ()
> (with-cal-julian-test
> --
> 2.38.2
>
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
This bug report was last modified 2 years and 21 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.