From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 17170@debbugs.gnu.org
Subject: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it
Date: Fri, 20 Mar 2015 16:47:50 +0100 [thread overview]
Message-ID: <550C4126.1000008@yahoo.fr> (raw)
In-Reply-To: <83wqdxwrcd.fsf@gnu.org>
Le 07/05/2014 17:17, Eli Zaretskii a écrit :
>> From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
>> Cc: Nicolas Richard <theonewiththeevillook@yahoo.fr>, 17170@debbugs.gnu.org
>> Date: Wed, 07 May 2014 13:07:18 +0200
>>
>> Could it be that the patch in bug#17413 will fix this problem ?
>
> Why not try that?
I think it helped but I'm not sure.
Anyway, I still have similar problems sometimes.
In my current session I have the following configuration of frames :
(mapconcat (lambda (f)
(format "Frame: %s\nTree: %s" f (window-tree f)))
(frame-list)
"\n\n")
;; =>
;; "Frame: #<frame *TABUF*<6> -- emacs@localhost (server) 0xfdaa5d8>
;; Tree: (#<window 552 on *TABUF*<6>> #<window 471 on *Minibuf-0*>)
;; Frame: #<frame F1 0x87b1a30>
;; Tree: ((t (0 0 10 9) #<window 1 on *scratch*> #<window 4 on *scratch*>) #<window 2 on *Minibuf-0*>)"
And I was facing this problem:
(debug)
;; => debug: Terminal 0 is locked, cannot read from it
;; (but at this point I'm not left in a recursive edit -- which is a change from the initial bugreport I made)
;; I did:
(setq debugger-previous-window (selected-window))
;; and it went away:
(debug)
;; works fine
So emacs sometimes tries to use the initial frame F1. That's not good because that frame doesn't really exist (it's the frame created by "emacs --daemon").
I'll appreciate any help. I guess I should somehow detect when/why emacs tries to access that initial frame, F1, but where would I hook ?
Nico.
next prev parent reply other threads:[~2015-03-20 15:47 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-02 11:03 bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it Nicolas Richard
2014-04-02 16:26 ` Eli Zaretskii
2014-04-02 17:57 ` Nicolas Richard
2014-04-02 20:22 ` Eli Zaretskii
2014-04-03 7:16 ` Nicolas Richard
2014-04-06 10:08 ` Nicolas Richard
2014-04-06 16:25 ` Eli Zaretskii
2014-04-06 16:41 ` Nicolas Richard
2014-04-06 17:00 ` Eli Zaretskii
2014-04-06 17:01 ` Eli Zaretskii
2014-05-07 11:07 ` Nicolas Richard
2014-05-07 15:17 ` Eli Zaretskii
2014-05-07 15:26 ` Nicolas Richard
2015-03-20 15:47 ` Nicolas Richard [this message]
2015-03-20 16:42 ` Eli Zaretskii
2015-03-20 16:55 ` Nicolas Richard
2015-03-20 17:47 ` Eli Zaretskii
2015-03-20 18:37 ` Nicolas Richard
2015-03-20 19:54 ` martin rudalics
2015-03-21 17:46 ` Nicolas Richard
2015-03-22 12:05 ` martin rudalics
2015-03-22 17:56 ` Nicolas Richard
2015-12-26 14:08 ` Lars Ingebrigtsen
2015-12-26 19:15 ` Nicolas Richard
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=550C4126.1000008@yahoo.fr \
--to=theonewiththeevillook@yahoo.fr \
--cc=17170@debbugs.gnu.org \
--cc=eliz@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.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).