emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Massimo Lauria <massimo.lauria@uniroma1.it>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Having '%p" in frame-title-format makes org-mode to freeze [9.4 (release_9.4-134-g0d525c @ /home/massimo/bugreport/org-mode/lisp/)]
Date: Thu, 10 Dec 2020 05:59:53 GMT	[thread overview]
Message-ID: <87blf2mca0.fsf@kyleam.com> (raw)
In-Reply-To: <CAJCFsEEHJXP4nKZpWdzheMM5O0Dq-tT+v0u0FsT+3Q0mi4v10A@mail.gmail.com>


Massimo Lauria writes:

> Hi all,
>
> I recently came across this weird issue using org-mode. Essentially
> when I fold/unfold/fold some header in org-mode, pressing tab three
> times,
> I expect the section to fold again at the third keypress, and instead
> emacs freezes. By detective work I discovered that it has to do with
> having the '%p' option in
> frame-title-format. The bug disappeared when I took "%p" option away
> from frame-title-format.

Very nice detective work.  Thank you.

> * Steps to reproduce the bug
[...]

Yep, I can reproduce it on my end.

The culprit is a8e812e60 (org.el: Restore the scroll position after
cycling, 2020-09-05).  However, at the time of that commit, the change
didn't trigger the hang with the default Org settings.  However, once
that commit was merged to master (5beeb094a), it started to trigger it
with the standard Org settings because the default value of
org-startup-folded changed to showeverything (88f5ed91c).

Anyway, this is fixed (on my end, at least) by 4f8ac0a7a.


      reply	other threads:[~2020-12-10  6:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-21 15:48 Bug: Having '%p" in frame-title-format makes org-mode to freeze [9.4 (release_9.4-134-g0d525c @ /home/massimo/bugreport/org-mode/lisp/)] Massimo Lauria
2020-12-10  5:59 ` Kyle Meyer [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=87blf2mca0.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=massimo.lauria@uniroma1.it \
    /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).