emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: emacs-orgmode@gnu.org
Subject: Re: [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 21:12:41 +0100	[thread overview]
Message-ID: <87ttadqati.fsf@web.de> (raw)
In-Reply-To: <87ttadnmcv.fsf@localhost> (Ihor Radchenko's message of "Sun, 05 Jan 2025 18:31:44 +0000")

Ihor Radchenko <yantar92@posteo.net> writes:

> That's what I tried myself.
> I do not see any problem.
> Please, do try to follow
> https://orgmode.org/manual/Feedback.html#Feedback and provide detailed
> steps showing how to reproduce the problem you are seeing without your
> personal config.

This will be a lot of work.  I really hope we can avoid it.

> > I have a guess what the problem is. ...
>
> First, we need to establish whether the problem is with Org mode
> itself or it is a combination of your config and Org mode.
>
> For now, I simply do not know what is that problem you are
> experiencing. Because I cannot see it locally on my side.

What I am seeing is what one sees for any window showing a sufficiently
large buffer after evaluating something like

  (setf (window-start) (+ 10 (point-max)))

and I have clearly shown that exactly that is what the code potentially
does.  I really don't want to spend half an hour to create a recipe
until you at least think about what I said.  I'm a big fan of recipes,
really, but in this case I would have to prepare a complete fake org
file with dozens of fake entries corresponding to suitable finely
composed dates ... this will take unnecessarily long, can't you please
just think about what I said?  Five minutes?  Please.

Does restoring the result of (window-start) from the old agenda view, as
a plain number(!), always give good results in your case?  What happens
for you in the scenario I described, when (window-start) of the previous
view is larger than (point-max) of the new view?  Emacs can't do
anything but to show nothing when the end of the buffer lies "before"
window-start.  No?


Michael.


      reply	other threads:[~2025-01-05 20:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-05  0:29 [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/)] Michael Heerdegen
2025-01-05  8:52 ` Ihor Radchenko
2025-01-05 18:18   ` Michael Heerdegen
2025-01-05 18:31     ` Ihor Radchenko
2025-01-05 20:12       ` Michael Heerdegen [this message]

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=87ttadqati.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).