From: Alan Mackenzie <acm@muc.de>
To: "Iris García" <iris.garcia.desebastian@gmail.com>
Cc: 48674-done@debbugs.gnu.org
Subject: bug#48674: Frames and minibuffer bug
Date: Mon, 31 May 2021 16:36:43 +0000 [thread overview]
Message-ID: <YLUQm1t5JSgdxaPb@ACM> (raw)
In-Reply-To: <CALBoQjpKJymwZVy=pTT-LD8V3JSLA8DzTt_k7GMCKryouMjT9A@mail.gmail.com>
Hello, Iris.
Firstly, forgive me for not answering you sooner. I didn't want want to
waste any more of your time with any more unusable patches. This was a
tricky bug to solve, and indeed only the third patch attempt was
satisfactory.
I have now committed this third patch, and would ask you to remove the
patch I sent you a few days ago, and update your Emacs to the current
master version.
I am closing the bug with this post, but if you find any more trouble
with it, would you please let us know, so that we can open it again.
Thanks!
--
Alan Mackenzie (Nuremberg, Germany).
On Thu, May 27, 2021 at 19:56:03 +0000, Iris García wrote:
> Hi Martin,
> I forgot to include you in my last mail where I said:
> I think I have found the new issue (it is related to the former one), my
> > code this time was the following:
> > (defvar box-cursor t)
> >
> > (defun test/set-cursor()
> > "Set cursor in all frames depending on the active state."
> > (interactive)
> > (dolist (frame (frame-list))
> > (with-selected-frame frame
> > (if box-cursor
> > (progn
> > (modify-frame-parameters
> > frame (list (cons 'cursor-type 'box)))
> > (modify-frame-parameters
> > frame (list (cons 'cursor-color "#00A9FE"))))
> > (progn
> > (modify-frame-parameters
> > frame (list (cons 'cursor-type 'hbar)))
> > (modify-frame-parameters
> > frame (list (cons 'cursor-color "green")))
> > )))))
> >
> > (defun test/enter-minibuffer()
> > (setq box-cursor nil)
> > (test/set-cursor))
> >
> > (defun test/exit-minibuffer()
> > (setq box-cursor t)
> > (test/set-cursor))
> >
> >
> > (add-hook 'window-state-change-hook #'test/enter-minibuffer)
> > (add-hook 'window-state-change-hook #'test/exit-minibuffer)
> >
> > (server-start)
> > (make-frame
> > The only difference is the add-hook, this time using
> > window-state-change-hook instead of minibuffer-...
> > This leads to the same bug.
> > Regards,
> > Iris.
next prev parent reply other threads:[~2021-05-31 16:36 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-26 11:23 bug#48674: Frames and minibuffer bug Iris García
2021-05-26 17:45 ` martin rudalics
2021-05-27 10:34 ` Alan Mackenzie
2021-05-27 16:33 ` martin rudalics
2021-05-27 19:56 ` Iris García
2021-05-28 8:25 ` martin rudalics
2021-05-28 9:34 ` Iris García
2021-05-28 9:51 ` martin rudalics
2021-05-31 16:36 ` Alan Mackenzie [this message]
2021-06-01 11:29 ` Iris García
2021-05-27 20:01 ` Alan Mackenzie
2021-05-28 8:26 ` martin rudalics
2021-05-28 17:15 ` Alan Mackenzie
2021-05-28 20:14 ` Alan Mackenzie
2021-05-29 9:20 ` martin rudalics
2021-05-29 13:10 ` Alan Mackenzie
2021-05-29 15:12 ` martin rudalics
2021-05-29 15:24 ` Eli Zaretskii
2021-05-29 17:00 ` Alan Mackenzie
2021-05-30 13:58 ` Alan Mackenzie
2021-05-31 7:55 ` martin rudalics
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YLUQm1t5JSgdxaPb@ACM \
--to=acm@muc.de \
--cc=48674-done@debbugs.gnu.org \
--cc=iris.garcia.desebastian@gmail.com \
/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.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).