From: Michael Heerdegen <michael_heerdegen@web.de>
To: emacs-orgmode@gnu.org
Subject: [BUG] org-agenda-later sometimes creates a void display [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/31.0.50/lisp/org/)]
Date: Sun, 05 Jan 2025 01:29:32 +0100 [thread overview]
Message-ID: <874j2e14sz.fsf@web.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 778 bytes --]
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:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-org-org-agenda.el-org-agenda-later-redisplay.patch --]
[-- Type: text/x-diff, Size: 923 bytes --]
From 3e706fef270cdac18d543e8814f76cfedac34916 Mon Sep 17 00:00:00 2001
From: Michael Heerdegen <michael_heerdegen@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
[-- Attachment #3: Type: text/plain, Size: 451 bytes --]
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.
next reply other threads:[~2025-01-05 0:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-05 0:29 Michael Heerdegen [this message]
2025-01-05 8:52 ` [BUG] org-agenda-later sometimes creates a void display [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/31.0.50/lisp/org/)] Ihor Radchenko
2025-01-05 18:18 ` Michael Heerdegen
2025-01-05 18:31 ` Ihor Radchenko
2025-01-05 20:12 ` Michael Heerdegen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874j2e14sz.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).