Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

Hi,

especially after displaying the agenda when it didn't exist before, when
I display it (`org-agenda'), switch to it and then move point to the end
of the agenda buffer, and hit f (`org-agenda-later'), I see an purely
void window.  I don't think I messed with agenda displaying, so others
may be able to reproduce this issue.

Hitting C-g suddenly shows everything as expected - do I just need a
redisplay?  Yip, this fixes the issue for me:

From 3e706fef270cdac18d543e8814f76cfedac34916 Mon Sep 17 00:00:00 2001
From: Michael Heerdegen <michael_heerde...@web.de>
Date: Sun, 5 Jan 2025 01:21:43 +0100
Subject: [PATCH] * lisp/org/org-agenda.el (org-agenda-later): redisplay

Without redisplay sometimes only a void looking window is displayed.
---
 lisp/org/org-agenda.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el
index 87eda4700b7..14201d2f592 100644
--- a/lisp/org/org-agenda.el
+++ b/lisp/org/org-agenda.el
@@ -8774,7 +8774,8 @@ org-agenda-later
 	   (list (car args) sd span)))
       (org-agenda-redo)
       (org-agenda-find-same-or-today-or-agenda cnt))
-    (set-window-start nil wstart)))
+    (set-window-start nil wstart)
+    (redisplay)))

 (defun org-agenda-earlier (arg)
   "Go backward in time by the current span in the agenda buffer.
--
2.39.5

Hope it's the right thing to do.  Haven't looked whether the same might
be appropriate somewhere else.

TIA,

Michael.



Emacs  : GNU Emacs 31.0.50 (build 22, x86_64-pc-linux-gnu, cairo version 1.16.0)
 of 2025-01-04
Package: Org mode version 9.7.11 (release_9.7.11 @ 
/usr/local/share/emacs/31.0.50/lisp/org/)

current state:
==============

Sorry, I removed this stuff, it contained too many private information.
Ask me if you want anything.  Thx.

Reply via email to