From unknown Fri Aug 15 03:56:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#17170 <17170@debbugs.gnu.org> To: bug#17170 <17170@debbugs.gnu.org> Subject: Status: 24.3.50; debug: Terminal 3 is locked, cannot read from it Reply-To: bug#17170 <17170@debbugs.gnu.org> Date: Fri, 15 Aug 2025 10:56:28 +0000 retitle 17170 24.3.50; debug: Terminal 3 is locked, cannot read from it reassign 17170 emacs submitter 17170 Nicolas Richard severity 17170 normal tag 17170 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 02 07:03:41 2014 Received: (at submit) by debbugs.gnu.org; 2 Apr 2014 11:03:41 +0000 Received: from localhost ([127.0.0.1]:60392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVIxH-0002ey-RB for submit@debbugs.gnu.org; Wed, 02 Apr 2014 07:03:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35017) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVIxC-0002en-Np for submit@debbugs.gnu.org; Wed, 02 Apr 2014 07:03:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WVIx5-00016y-21 for submit@debbugs.gnu.org; Wed, 02 Apr 2014 07:03:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVIx4-00016r-Vs for submit@debbugs.gnu.org; Wed, 02 Apr 2014 07:03:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVIwy-0006H7-F1 for bug-gnu-emacs@gnu.org; Wed, 02 Apr 2014 07:03:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WVIwo-000109-42 for bug-gnu-emacs@gnu.org; Wed, 02 Apr 2014 07:03:20 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:54587) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVIwn-0000zC-AD for bug-gnu-emacs@gnu.org; Wed, 02 Apr 2014 07:03:10 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApQLAC7nO1OkD4Xx/2dsb2JhbABRCINBqxoCCoJYAZZAgTN0gxUBJyQPJQF+h0YBFJ4Mj22ZUAGIM4dohjIFAQFKJIQgBI5ZiX2GOIwBgzI7gTU Received: from mathsrv4.ulb.ac.be (HELO geodiff-mac3) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 02 Apr 2014 13:03:07 +0200 From: Nicolas Richard To: bug-gnu-emacs@gnu.org Subject: 24.3.50; debug: Terminal 3 is locked, cannot read from it Date: Wed, 02 Apr 2014 13:03:29 +0200 Message-ID: <87vbusouwu.fsf@yahoo.fr> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) I got the following error message debug: Terminal 3 is locked, cannot read from it It has already happened to me but I cannot reproduce. This however only happeend to me in a situation where emacs is run (with -nw option) from gdb which is run from tmux and I connect to that through ssh and emacsclient. In this specific occurrence of the problem, that initial frame was active (on the host computer) but I was connecting to the emacs session from ssh via emacsclient. There was a third frame also, a graphical one, on the host computer. If I hit ESC ESC ESC, I get the error message again and enter a new level of recursive edit (i.e. another layer of brackets in the modeline). I can't escape those : C-] just makes also the error again + another level of recursive edit. Any idea on how to debug this further ? Thanks. In GNU Emacs 24.3.50.7 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2014-03-27 on geodiff-mac3 Windowing system distributor `The X.Org Foundation', version 11.0.11304000 System Description: Gentoo Base System release 2.2 Configured using: `configure --with-x-toolkit=lucid 'CFLAGS= -O0 -g3'' Important settings: value of $LANG: fr_FR.UTF-8 locale-coding-system: utf-8-unix Major mode: Edit Macro Minor modes in effect: TeX-PDF-mode: t rcirc-track-minor-mode: t global-semanticdb-minor-mode: t global-semantic-idle-scheduler-mode: t semantic-mode: t yas/global-mode: t projectile-global-mode: t projectile-mode: t dynamic-completion-mode: t shell-dirtrack-mode: t diff-auto-refine-mode: t server-mode: t minibuffer-depth-indicate-mode: t show-paren-mode: t recentf-mode: t winner-mode: t global-discover-mode: t discover-mode: t display-time-mode: t override-global-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-s c M-x g n u s C-x b C-x C-s C-c C-c y g q y C-c C-SPC C-z C-x b B B C-x b b B B Q C-g ESC [ > 1 ; 3 4 0 6 ; 0 c C-c C-c C-@ C-c C-@ C-u C-c C-@ ESC x C-g ESC x r c i r c RET ESC x g n u s RET C-n C-p RET RET , , C-p RET C-c C-@ C-c C-@ C-c C-@ C-c C-@ C-c C-@ C-c C-s C-x 1 C-l C-l ESC x g n u s RET RET q RET RET k q RET q C-n q y ESC < ESC > C-x b # e m RET ESC < ESC > C-c C-@ C-c C-@ C-c C-@ ESC < C-x K C-c C-@ ESC > C-x K ESC x ESC l o c a t e RET d e n i s RET C-s p d f C-n C-n C-n ESC x ESC O A RET d b o n h e RET C-x 1 C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-x K C-x C-c C-g C-x C-c C-g C-x ESC O C C-p C-p C-p C-p C-n C-n C-p C-o C-n C-c C-e d o c u TAB RET RET C-h l C-x C-k e C-h l ESC > C-@ C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-g ESC x r e p o r t SPC e m TAB SPC b u DEL DEL DEL TAB RET Recent messages: Mark set [6 times] Mark saved where search started Quit [2 times] Beginning of buffer [3 times] Sorting environment... Removing duplicates... done Entering debugger... debug: Terminal 3 is locked, cannot read from it Type C-x 1 to delete the help window. Formatting keyboard macro...done Load-path shadows: /home/youngfrog/.emacs.d/elpa/magit-20140213.1249/magit-blame hides ~/sources/magit/magit-blame /home/youngfrog/.emacs.d/elpa/magit-20140213.1249/magit-key-mode hides ~/sources/magit/magit-key-mode /home/youngfrog/.emacs.d/elpa/magit-20140213.1249/magit-pkg hides ~/sources/magit/magit-pkg /home/youngfrog/.emacs.d/elpa/magit-20140213.1249/magit-wip hides ~/sources/magit/magit-wip /home/youngfrog/.emacs.d/elpa/git-commit-mode-20140125.1553/git-commit-mode hides ~/sources/magit/git-commit-mode /home/youngfrog/.emacs.d/elpa/magit-20140213.1249/magit-autoloads hides ~/sources/magit/magit-autoloads /home/youngfrog/.emacs.d/elpa/magit-20140213.1249/magit hides ~/sources/magit/magit /home/youngfrog/.emacs.d/elpa/git-rebase-mode-20140125.1553/git-rebase-mode hides ~/sources/magit/git-rebase-mode ~/.emacs.d/lisp/asy-mode hides /usr/local/texlive/2012/texmf/asymptote/asy-mode ~/sources/org-mode/lisp/org-footnote hides /home/youngfrog/sources/running-emacs/lisp/org/org-footnote ~/sources/org-mode/lisp/ob-asymptote hides /home/youngfrog/sources/running-emacs/lisp/org/ob-asymptote ~/sources/org-mode/lisp/ob-sqlite hides /home/youngfrog/sources/running-emacs/lisp/org/ob-sqlite ~/sources/org-mode/lisp/ob-ditaa hides /home/youngfrog/sources/running-emacs/lisp/org/ob-ditaa ~/sources/org-mode/lisp/org-protocol hides /home/youngfrog/sources/running-emacs/lisp/org/org-protocol ~/sources/org-mode/lisp/ox-beamer hides /home/youngfrog/sources/running-emacs/lisp/org/ox-beamer ~/sources/org-mode/lisp/org-irc hides /home/youngfrog/sources/running-emacs/lisp/org/org-irc ~/sources/org-mode/lisp/ob-scheme hides /home/youngfrog/sources/running-emacs/lisp/org/ob-scheme ~/sources/org-mode/lisp/org-capture hides /home/youngfrog/sources/running-emacs/lisp/org/org-capture ~/sources/org-mode/lisp/ob-plantuml hides /home/youngfrog/sources/running-emacs/lisp/org/ob-plantuml ~/sources/org-mode/lisp/ox-html hides /home/youngfrog/sources/running-emacs/lisp/org/ox-html ~/sources/org-mode/lisp/org-table hides /home/youngfrog/sources/running-emacs/lisp/org/org-table ~/sources/org-mode/lisp/ob-eval hides /home/youngfrog/sources/running-emacs/lisp/org/ob-eval ~/sources/org-mode/lisp/ob-exp hides /home/youngfrog/sources/running-emacs/lisp/org/ob-exp ~/sources/org-mode/lisp/org-eshell hides /home/youngfrog/sources/running-emacs/lisp/org/org-eshell ~/sources/org-mode/lisp/ob-sql hides /home/youngfrog/sources/running-emacs/lisp/org/ob-sql ~/sources/org-mode/lisp/org-colview hides /home/youngfrog/sources/running-emacs/lisp/org/org-colview ~/sources/org-mode/lisp/ox-publish hides /home/youngfrog/sources/running-emacs/lisp/org/ox-publish ~/sources/org-mode/lisp/ob-comint hides /home/youngfrog/sources/running-emacs/lisp/org/ob-comint ~/sources/org-mode/lisp/org-element hides /home/youngfrog/sources/running-emacs/lisp/org/org-element ~/sources/org-mode/lisp/org-indent hides /home/youngfrog/sources/running-emacs/lisp/org/org-indent ~/sources/org-mode/lisp/ob-sass hides /home/youngfrog/sources/running-emacs/lisp/org/ob-sass ~/sources/org-mode/lisp/org-compat hides /home/youngfrog/sources/running-emacs/lisp/org/org-compat ~/sources/org-mode/lisp/org-list hides /home/youngfrog/sources/running-emacs/lisp/org/org-list ~/sources/org-mode/lisp/ox hides /home/youngfrog/sources/running-emacs/lisp/org/ox ~/sources/org-mode/lisp/ob-mscgen hides /home/youngfrog/sources/running-emacs/lisp/org/ob-mscgen ~/sources/org-mode/lisp/ob-keys hides /home/youngfrog/sources/running-emacs/lisp/org/ob-keys ~/sources/org-mode/lisp/org-info hides /home/youngfrog/sources/running-emacs/lisp/org/org-info ~/sources/org-mode/lisp/org-ctags hides /home/youngfrog/sources/running-emacs/lisp/org/org-ctags ~/sources/org-mode/lisp/org-habit hides /home/youngfrog/sources/running-emacs/lisp/org/org-habit ~/sources/org-mode/lisp/org-datetree hides /home/youngfrog/sources/running-emacs/lisp/org/org-datetree ~/sources/org-mode/lisp/ox-texinfo hides /home/youngfrog/sources/running-emacs/lisp/org/ox-texinfo ~/sources/org-mode/lisp/org-clock hides /home/youngfrog/sources/running-emacs/lisp/org/org-clock ~/sources/org-mode/lisp/org-bbdb hides /home/youngfrog/sources/running-emacs/lisp/org/org-bbdb ~/sources/org-mode/lisp/ob-maxima hides /home/youngfrog/sources/running-emacs/lisp/org/ob-maxima ~/sources/org-mode/lisp/ob-fortran hides /home/youngfrog/sources/running-emacs/lisp/org/ob-fortran ~/sources/org-mode/lisp/ob-picolisp hides /home/youngfrog/sources/running-emacs/lisp/org/ob-picolisp ~/sources/org-mode/lisp/ob-java hides /home/youngfrog/sources/running-emacs/lisp/org/ob-java ~/sources/org-mode/lisp/ox-icalendar hides /home/youngfrog/sources/running-emacs/lisp/org/ox-icalendar ~/sources/org-mode/lisp/org-gnus hides /home/youngfrog/sources/running-emacs/lisp/org/org-gnus ~/sources/org-mode/lisp/ob-table hides /home/youngfrog/sources/running-emacs/lisp/org/ob-table ~/sources/org-mode/lisp/ob-ocaml hides /home/youngfrog/sources/running-emacs/lisp/org/ob-ocaml ~/sources/org-mode/lisp/ob-tangle hides /home/youngfrog/sources/running-emacs/lisp/org/ob-tangle ~/sources/org-mode/lisp/ox-md hides /home/youngfrog/sources/running-emacs/lisp/org/ox-md ~/sources/org-mode/lisp/org-install hides /home/youngfrog/sources/running-emacs/lisp/org/org-install ~/sources/org-mode/lisp/ob-org hides /home/youngfrog/sources/running-emacs/lisp/org/ob-org ~/sources/org-mode/lisp/org-docview hides /home/youngfrog/sources/running-emacs/lisp/org/org-docview ~/sources/org-mode/lisp/org-timer hides /home/youngfrog/sources/running-emacs/lisp/org/org-timer ~/sources/org-mode/lisp/ob-makefile hides /home/youngfrog/sources/running-emacs/lisp/org/ob-makefile ~/sources/org-mode/lisp/ob-calc hides /home/youngfrog/sources/running-emacs/lisp/org/ob-calc ~/sources/org-mode/lisp/org-rmail hides /home/youngfrog/sources/running-emacs/lisp/org/org-rmail ~/sources/org-mode/lisp/org-plot hides /home/youngfrog/sources/running-emacs/lisp/org/org-plot ~/sources/org-mode/lisp/ob-haskell hides /home/youngfrog/sources/running-emacs/lisp/org/ob-haskell ~/sources/org-mode/lisp/ob-shen hides /home/youngfrog/sources/running-emacs/lisp/org/ob-shen ~/sources/org-mode/lisp/ox-latex hides /home/youngfrog/sources/running-emacs/lisp/org/ox-latex ~/sources/org-mode/lisp/org-mhe hides /home/youngfrog/sources/running-emacs/lisp/org/org-mhe ~/sources/org-mode/lisp/org-pcomplete hides /home/youngfrog/sources/running-emacs/lisp/org/org-pcomplete ~/sources/org-mode/lisp/org-mouse hides /home/youngfrog/sources/running-emacs/lisp/org/org-mouse ~/sources/org-mode/lisp/ox-man hides /home/youngfrog/sources/running-emacs/lisp/org/ox-man ~/sources/org-mode/lisp/org-archive hides /home/youngfrog/sources/running-emacs/lisp/org/org-archive ~/sources/org-mode/lisp/ox-ascii hides /home/youngfrog/sources/running-emacs/lisp/org/ox-ascii ~/sources/org-mode/lisp/ob-python hides /home/youngfrog/sources/running-emacs/lisp/org/ob-python ~/sources/org-mode/lisp/ox-org hides /home/youngfrog/sources/running-emacs/lisp/org/ox-org ~/sources/org-mode/lisp/ob-gnuplot hides /home/youngfrog/sources/running-emacs/lisp/org/ob-gnuplot ~/sources/org-mode/lisp/org-agenda hides /home/youngfrog/sources/running-emacs/lisp/org/org-agenda ~/sources/org-mode/lisp/ob-core hides /home/youngfrog/sources/running-emacs/lisp/org/ob-core ~/sources/org-mode/lisp/ob-perl hides /home/youngfrog/sources/running-emacs/lisp/org/ob-perl ~/sources/org-mode/lisp/ob-octave hides /home/youngfrog/sources/running-emacs/lisp/org/ob-octave ~/sources/org-mode/lisp/org-crypt hides /home/youngfrog/sources/running-emacs/lisp/org/org-crypt ~/sources/org-mode/lisp/org-macs hides /home/youngfrog/sources/running-emacs/lisp/org/org-macs ~/sources/org-mode/lisp/org-w3m hides /home/youngfrog/sources/running-emacs/lisp/org/org-w3m ~/sources/org-mode/lisp/org-feed hides /home/youngfrog/sources/running-emacs/lisp/org/org-feed ~/sources/org-mode/lisp/org-mobile hides /home/youngfrog/sources/running-emacs/lisp/org/org-mobile ~/sources/org-mode/lisp/org-version hides /home/youngfrog/sources/running-emacs/lisp/org/org-version ~/sources/org-mode/lisp/ob-ledger hides /home/youngfrog/sources/running-emacs/lisp/org/ob-ledger ~/sources/org-mode/lisp/org-inlinetask hides /home/youngfrog/sources/running-emacs/lisp/org/org-inlinetask ~/sources/org-mode/lisp/ob-latex hides /home/youngfrog/sources/running-emacs/lisp/org/ob-latex ~/sources/org-mode/lisp/ob-dot hides /home/youngfrog/sources/running-emacs/lisp/org/ob-dot ~/sources/org-mode/lisp/ob-screen hides /home/youngfrog/sources/running-emacs/lisp/org/ob-screen ~/sources/org-mode/lisp/org-src hides /home/youngfrog/sources/running-emacs/lisp/org/org-src ~/sources/org-mode/lisp/ob-ruby hides /home/youngfrog/sources/running-emacs/lisp/org/ob-ruby ~/sources/org-mode/lisp/org-macro hides /home/youngfrog/sources/running-emacs/lisp/org/org-macro ~/sources/org-mode/lisp/ob hides /home/youngfrog/sources/running-emacs/lisp/org/ob ~/sources/org-mode/lisp/ob-io hides /home/youngfrog/sources/running-emacs/lisp/org/ob-io ~/sources/org-mode/lisp/ob-matlab hides /home/youngfrog/sources/running-emacs/lisp/org/ob-matlab ~/sources/org-mode/lisp/ob-ref hides /home/youngfrog/sources/running-emacs/lisp/org/ob-ref ~/sources/org-mode/lisp/org-bibtex hides /home/youngfrog/sources/running-emacs/lisp/org/org-bibtex ~/sources/org-mode/lisp/org-entities hides /home/youngfrog/sources/running-emacs/lisp/org/org-entities ~/sources/org-mode/lisp/org hides /home/youngfrog/sources/running-emacs/lisp/org/org ~/sources/org-mode/lisp/ob-R hides /home/youngfrog/sources/running-emacs/lisp/org/ob-R ~/sources/org-mode/lisp/ob-C hides /home/youngfrog/sources/running-emacs/lisp/org/ob-C ~/sources/org-mode/lisp/ob-lob hides /home/youngfrog/sources/running-emacs/lisp/org/ob-lob ~/sources/org-mode/lisp/ob-awk hides /home/youngfrog/sources/running-emacs/lisp/org/ob-awk ~/sources/org-mode/lisp/ob-clojure hides /home/youngfrog/sources/running-emacs/lisp/org/ob-clojure ~/sources/org-mode/lisp/org-faces hides /home/youngfrog/sources/running-emacs/lisp/org/org-faces ~/sources/org-mode/lisp/ox-odt hides /home/youngfrog/sources/running-emacs/lisp/org/ox-odt ~/sources/org-mode/lisp/ob-css hides /home/youngfrog/sources/running-emacs/lisp/org/ob-css ~/sources/org-mode/lisp/ob-lisp hides /home/youngfrog/sources/running-emacs/lisp/org/ob-lisp ~/sources/org-mode/lisp/ob-lilypond hides /home/youngfrog/sources/running-emacs/lisp/org/ob-lilypond ~/sources/org-mode/lisp/org-attach hides /home/youngfrog/sources/running-emacs/lisp/org/org-attach ~/sources/org-mode/lisp/ob-emacs-lisp hides /home/youngfrog/sources/running-emacs/lisp/org/ob-emacs-lisp ~/sources/org-mode/lisp/ob-scala hides /home/youngfrog/sources/running-emacs/lisp/org/ob-scala ~/sources/org-mode/lisp/ob-js hides /home/youngfrog/sources/running-emacs/lisp/org/ob-js ~/sources/org-mode/lisp/org-id hides /home/youngfrog/sources/running-emacs/lisp/org/org-id ~/sources/org-mode/lisp/org-loaddefs hides /home/youngfrog/sources/running-emacs/lisp/org/org-loaddefs /home/youngfrog/.emacs.d/elpa/tabulated-list-0/tabulated-list hides /home/youngfrog/sources/running-emacs/lisp/emacs-lisp/tabulated-list Features: (locate mailalias smtpmail url-queue shr-color color org-indent org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view image-mode org-bibtex bibtex org-bbdb org-w3m url-cache debbugs-org debbugs-gnu debbugs soap-client shadow bbdb-message emacsbug sendmail vc-git gud reftex-dcr reftex-auc reftex reftex-vars preview prv-emacs tex-buf font-latex latex tex-style tex dbus misearch multi-isearch tramp-cache tramp-sh tramp tramp-compat tramp-loaddefs trampver rcirc-color rcirc time-stamp gnus-draft flow-fill pp shr browse-url mm-archive semantic/db-mode semantic/db semantic/idle semantic/format ezimage semantic/tag-ls semantic/find semantic/ctxt semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet yasnippet assoc projectile pkg-info epl s completion ob-dot ob-R ob-shell shell magit-key-mode magit view help-mode grep compile diff-mode autorevert filenotify git-rebase-mode git-commit-mode log-edit pcvs-util add-log sort gnus-cite mail-extr gnus-async gnus-bcklg qp gnus-ml disp-table ffap thingatpt server nndraft nnmh nnmaildir gnutls nnfolder parse-time bbdb-gnus bbdb-mua bbdb-com crm netrc network-stream starttls gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig nntp gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader mail-utils xterm hideshow org-caldav icalendar diary-lib diary-loaddefs org-id latexenc ox-latex ox-icalendar ox-html ox-ascii ox-publish ox org-element avl-tree url-dav url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw url-handlers etable etable-selection-model etable-cell-renderer etable-table-column-model etable-table-column etable-table-model eieio-base interval-list dash helm-config helm-aliases bbdb bbdb-site timezone yf-asy preview-latex mb-depth icomplete autoinsert hippie-exp warnings ert ewoc debug jka-compr paredit windmove paren dired recentf tree-widget wid-edit org-inlinetask winner ampc-autoloads nlinum-autoloads info sicp-autoloads finder-inf w3-autoloads workspaces-autoloads wtf-autoloads pcase discover makey-key-mode twittering-mode edmacro kmacro epa derived epg epg-config tls cl-macs gv url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source eieio eieio-core gnus-util mm-util mail-prsvr password-cache url-vars mailcap xml cl cl-loaddefs cl-lib time cus-start cus-load two-mode-mode tex-site auto-loads ido-hacks ido org byte-opt advice help-fns org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities time-date noutline outline org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu easymenu calendar cal-loaddefs package use-package bytecomp byte-compile cconv bind-key easy-mmode tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty emacs) Memory information: ((conses 8 656834 83083) (symbols 24 62271 512) (miscs 20 1962 2817) (strings 16 152979 30540) (string-bytes 1 4975562) (vectors 8 55728) (vector-slots 4 979444 32758) (floats 8 895 956) (intervals 28 12031 1103) (buffers 512 136) (heap 1024 26255 7094)) -- Nico. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 02 12:26:14 2014 Received: (at 17170) by debbugs.gnu.org; 2 Apr 2014 16:26:15 +0000 Received: from localhost ([127.0.0.1]:33159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVNzR-0006FS-VQ for submit@debbugs.gnu.org; Wed, 02 Apr 2014 12:26:14 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:44899) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVNzP-0006FG-5b for 17170@debbugs.gnu.org; Wed, 02 Apr 2014 12:26:12 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N3E00600W867U00@a-mtaout20.012.net.il> for 17170@debbugs.gnu.org; Wed, 02 Apr 2014 19:26:09 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N3E005S1WBKK580@a-mtaout20.012.net.il>; Wed, 02 Apr 2014 19:26:09 +0300 (IDT) Date: Wed, 02 Apr 2014 19:26:20 +0300 From: Eli Zaretskii Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it In-reply-to: <87vbusouwu.fsf@yahoo.fr> X-012-Sender: halo1@inter.net.il To: Nicolas Richard Message-id: <83r45fbsur.fsf@gnu.org> References: <87vbusouwu.fsf@yahoo.fr> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17170 Cc: 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Nicolas Richard > Date: Wed, 02 Apr 2014 13:03:29 +0200 > > I got the following error message > debug: Terminal 3 is locked, cannot read from it This comes from keyboard.c, see the commentary there for details. > It has already happened to me but I cannot reproduce. Please try "C-h l" next time, and report the commands that cause this. > This however only happeend to me in a situation where emacs is run > (with -nw option) from gdb which is run from tmux and I connect to > that through ssh and emacsclient. Perhaps tmux tricks Emacs into some strange situation. > In this specific occurrence of the problem, that initial frame was > active (on the host computer) but I was connecting to the emacs session > from ssh via emacsclient. There was a third frame also, a graphical one, > on the host computer. > > If I hit ESC ESC ESC, I get the error message again and enter a new > level of recursive edit (i.e. another layer of brackets in the > modeline). I can't escape those : C-] just makes also the error again + > another level of recursive edit. Do you have debug-on-error set non-nil or something? From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 02 13:57:30 2014 Received: (at 17170) by debbugs.gnu.org; 2 Apr 2014 17:57:30 +0000 Received: from localhost ([127.0.0.1]:33233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVPPl-0001Nf-4k for submit@debbugs.gnu.org; Wed, 02 Apr 2014 13:57:29 -0400 Received: from mailrelay012.isp.belgacom.be ([195.238.6.179]:16768) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVPPi-0001NV-BT for 17170@debbugs.gnu.org; Wed, 02 Apr 2014 13:57:27 -0400 X-Belgacom-Dynamic: yes Received: from 55.22-200-80.adsl-dyn.isp.belgacom.be (HELO LDLC-portable) ([80.200.22.55]) by relay.skynet.be with ESMTP; 02 Apr 2014 19:57:25 +0200 From: Nicolas Richard To: Eli Zaretskii Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it Message-ID: <874n2bsjpj.fsf@yahoo.fr> References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> Date: Wed, 02 Apr 2014 19:57:24 +0200 In-Reply-To: <83r45fbsur.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 02 Apr 2014 19:26:20 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17170 Cc: Nicolas Richard , 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli Zaretskii writes: > This comes from keyboard.c, see the commentary there for details. Ok, will do. > Please try "C-h l" next time, and report the commands that cause this. The lossage in the bug report is pretty close to the problem. It happend while doing C-c C-e ; which calls LaTeX-environment. I must say however that that command often triggers an error on my system due to my setup described in bug#17132, and so my guess is that it is the error which causes emacs to try to enter the debugger, and only then the "Terminal locked" error appears. > Do you have debug-on-error set non-nil or something? It is set to t. -- Nico. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 02 16:22:01 2014 Received: (at 17170) by debbugs.gnu.org; 2 Apr 2014 20:22:01 +0000 Received: from localhost ([127.0.0.1]:33330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVRfd-0005I1-00 for submit@debbugs.gnu.org; Wed, 02 Apr 2014 16:22:01 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:51967) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVRfa-0005Hp-0C for 17170@debbugs.gnu.org; Wed, 02 Apr 2014 16:21:58 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N3F00300756WZ00@a-mtaout22.012.net.il> for 17170@debbugs.gnu.org; Wed, 02 Apr 2014 23:21:56 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N3F0037U78KLI70@a-mtaout22.012.net.il>; Wed, 02 Apr 2014 23:21:56 +0300 (IDT) Date: Wed, 02 Apr 2014 23:22:08 +0300 From: Eli Zaretskii Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it In-reply-to: <874n2bsjpj.fsf@yahoo.fr> X-012-Sender: halo1@inter.net.il To: Nicolas Richard Message-id: <83eh1fbhxr.fsf@gnu.org> References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> <874n2bsjpj.fsf@yahoo.fr> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17170 Cc: theonewiththeevillook@yahoo.fr, 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Nicolas Richard > Cc: Nicolas Richard , 17170@debbugs.gnu.org > Date: Wed, 02 Apr 2014 19:57:24 +0200 > > > Do you have debug-on-error set non-nil or something? > > It is set to t. I'm guessing that keeping it at nil will allow you to continue from that error, instead of being stuck in an endless loop of recursive editing. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 03 03:16:18 2014 Received: (at 17170) by debbugs.gnu.org; 3 Apr 2014 07:16:18 +0000 Received: from localhost ([127.0.0.1]:33682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVbsm-00077K-6Q for submit@debbugs.gnu.org; Thu, 03 Apr 2014 03:16:17 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:15396) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVbsh-000773-4G for 17170@debbugs.gnu.org; Thu, 03 Apr 2014 03:16:13 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAFEJPVOkD4Xx/2dsb2JhbAANRAjEeYMOgTCDGgEBBDIBRQEQCyEWDwkDAgECAUUGDQEHAQGHYAGsIYFHmhQBiA0Xh2iGM1YHhDgBA5hZhjqPNg Received: from mathsrv4.ulb.ac.be (HELO [172.19.79.241]) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 03 Apr 2014 09:16:08 +0200 Message-ID: <533D0ACF.8060500@yahoo.fr> Date: Thu, 03 Apr 2014 09:16:31 +0200 From: Nicolas Richard User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> <874n2bsjpj.fsf@yahoo.fr> <83eh1fbhxr.fsf@gnu.org> In-Reply-To: <83eh1fbhxr.fsf@gnu.org> X-TagToolbar-Keys: D20140403091631438 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17170 Cc: 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Le 02/04/2014 22:22, Eli Zaretskii a écrit : > I'm guessing that keeping it at nil will allow you to continue from > that error, instead of being stuck in an endless loop of recursive > editing. Indeed. Now if I do C-], I get "No catch for tag: exit" -- Nico. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 06 06:08:10 2014 Received: (at 17170) by debbugs.gnu.org; 6 Apr 2014 10:08:10 +0000 Received: from localhost ([127.0.0.1]:37443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWjzl-0007Ec-Lf for submit@debbugs.gnu.org; Sun, 06 Apr 2014 06:08:10 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:64198) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWjzj-0007EP-5P for 17170@debbugs.gnu.org; Sun, 06 Apr 2014 06:08:07 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap4EAJAmQVOkD4Xx/2dsb2JhbABQCMgogSt0giYBAQR5EAgDISUPAQRJEx6HRgEUq2GZTgGHWheHaIYzVgeEOAEDmFuGOowFgzI7gSwj Received: from mathsrv4.ulb.ac.be (HELO geodiff-mac3) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 06 Apr 2014 12:08:06 +0200 From: Nicolas Richard To: Eli Zaretskii Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> Date: Sun, 06 Apr 2014 12:08:31 +0200 In-Reply-To: <83r45fbsur.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 02 Apr 2014 19:26:20 +0300") Message-ID: <87r45aepnk.fsf@yahoo.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17170 Cc: Nicolas Richard , 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Eli Zaretskii writes: > Please try "C-h l" next time, and report the commands that cause this. It just happened again. Again, I'm in emacs -nw through gdb through tmux through ssh. Again, I apparently have left one GUI frame open on my remote box. When I saw the error, I did: C-x C-k e ;; edit-kbd-macro C-h l ;; view-lossage The output isn't very interesting because most command names are wrong (everytime I hit an arrow key, it reports "ESC O" then one of A B C D separately), but here's the last bits : C-c NUL ;; rcirc-next-active-buffer C-x K C-u C-u C-c NUL ;; rcirc-next-active-buffer C-z ;; suspend-frame C-x C-k e ;; edit-kbd-macro C-h l ;; view-lossage The error appeared when I did C-z for suspend-frame. "C-x K" kills current buffer. Note that suspend-frame makes an error: x-win-suspend-error: Cannot suspend Emacs while running under X If I do M-: (debug) RET, I get the "Terminal locked" message, and enter another level of recursive edit and can't exit it (because of "No catch for tag: exit"). At this moment I have three pairs of brackets in the modeline. Now, I deleted the distant graphical frame (with (delete-frame (car (frame-list)))) At this point M-: (debug) doesn't throw the terminal locked error anymore and enter the debugger correctly (entering a 4th pair of brackets ), and I can exit the debugger correctly too, but I'm stuck within those 3 pairs of brackets. So it seems that the remote graphical frame really was a problem and entered me into a weird state. -- Nico. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 06 12:25:54 2014 Received: (at 17170) by debbugs.gnu.org; 6 Apr 2014 16:25:54 +0000 Received: from localhost ([127.0.0.1]:38251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWptI-0003Vb-Ut for submit@debbugs.gnu.org; Sun, 06 Apr 2014 12:25:53 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:56477) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWptE-0003VM-O2 for 17170@debbugs.gnu.org; Sun, 06 Apr 2014 12:25:50 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0N3M00H00ALD1500@a-mtaout23.012.net.il> for 17170@debbugs.gnu.org; Sun, 06 Apr 2014 19:25:47 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N3M00G5WAYZVQB0@a-mtaout23.012.net.il>; Sun, 06 Apr 2014 19:25:47 +0300 (IDT) Date: Sun, 06 Apr 2014 19:25:35 +0300 From: Eli Zaretskii Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it In-reply-to: <87r45aepnk.fsf@yahoo.fr> X-012-Sender: halo1@inter.net.il To: Nicolas Richard Message-id: <831txa8lxc.fsf@gnu.org> References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> <87r45aepnk.fsf@yahoo.fr> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17170 Cc: 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Nicolas Richard > Cc: Nicolas Richard , 17170@debbugs.gnu.org > Date: Sun, 06 Apr 2014 12:08:31 +0200 > > Eli Zaretskii writes: > > Please try "C-h l" next time, and report the commands that cause this. > > It just happened again. Again, I'm in emacs -nw through gdb through tmux > through ssh. Again, I apparently have left one GUI frame open on my > remote box. I'm confused: you in "emacs -nw", but you have a GUI frame open? How can both of these happen in the same session? > C-c NUL ;; rcirc-next-active-buffer > C-x K > C-u C-u C-c NUL ;; rcirc-next-active-buffer > C-z ;; suspend-frame > C-x C-k e ;; edit-kbd-macro > C-h l ;; view-lossage > > The error appeared when I did C-z for suspend-frame. "C-x K" kills > current buffer. > > Note that suspend-frame makes an error: > x-win-suspend-error: Cannot suspend Emacs while running under X Looks like Emacs doesn't know it has a TTY frame, and thinks you are in a GUI frame? > If I do M-: (debug) RET, I get the "Terminal locked" message, and enter > another level of recursive edit and can't exit it (because of "No catch > for tag: exit"). > > At this moment I have three pairs of brackets in the modeline. > > Now, I deleted the distant graphical frame (with (delete-frame (car > (frame-list)))) > > At this point M-: (debug) doesn't throw the terminal locked error > anymore and enter the debugger correctly (entering a 4th pair of > brackets ), and I can exit the debugger correctly too, but I'm stuck > within those 3 pairs of brackets. So it seems that the remote graphical > frame really was a problem and entered me into a weird state. Please describe how you started the remote session, and how you got into "emacs -nw" in the same session. There's something I must be missing here. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 06 12:42:11 2014 Received: (at 17170) by debbugs.gnu.org; 6 Apr 2014 16:42:11 +0000 Received: from localhost ([127.0.0.1]:38264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWq94-0003zx-Rr for submit@debbugs.gnu.org; Sun, 06 Apr 2014 12:42:11 -0400 Received: from mailrelay003.isp.belgacom.be ([195.238.6.53]:25450) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWq8y-0003zc-DF for 17170@debbugs.gnu.org; Sun, 06 Apr 2014 12:42:08 -0400 X-Belgacom-Dynamic: yes Received: from 208.163-178-91.adsl-dyn.isp.belgacom.be (HELO LDLC-portable) ([91.178.163.208]) by relay.skynet.be with ESMTP; 06 Apr 2014 18:41:54 +0200 From: Nicolas Richard To: Eli Zaretskii Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> <87r45aepnk.fsf@yahoo.fr> <831txa8lxc.fsf@gnu.org> Date: Sun, 06 Apr 2014 18:41:54 +0200 Message-ID: <87fvlqz9yl.fsf@yahoo.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17170 Cc: Nicolas Richard , 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli Zaretskii writes: > Please describe how you started the remote session, and how you got > into "emacs -nw" in the same session. There's something I must be > missing here. the remote session was started by opening gnome-terminal, then doing: $ tmux # this starts a new tmux session. $ cd ~/path/to/emacs/src $ gdb emacs # drops me in gdb. (gdb) r -nw now emacs is started. I can detach from tmux and open graphical frames using "emacsclient -c". When working remotely, I can either run emacsclient from ssh, or run "tmux a" for reattaching the initial frame. The reason I do this is to be able to reattach to the gdb session in case it takes control and I'm working over ssh. I hope the picture is now complete. -- Nico. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 06 13:01:01 2014 Received: (at 17170) by debbugs.gnu.org; 6 Apr 2014 17:01:01 +0000 Received: from localhost ([127.0.0.1]:38272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWqRI-0004VH-HE for submit@debbugs.gnu.org; Sun, 06 Apr 2014 13:01:01 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:33074) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWqRF-0004V8-Hu for 17170@debbugs.gnu.org; Sun, 06 Apr 2014 13:00:58 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N3M00B00CF6VA00@a-mtaout22.012.net.il> for 17170@debbugs.gnu.org; Sun, 06 Apr 2014 20:00:56 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N3M00B17CLJU620@a-mtaout22.012.net.il>; Sun, 06 Apr 2014 20:00:56 +0300 (IDT) Date: Sun, 06 Apr 2014 20:00:43 +0300 From: Eli Zaretskii Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it In-reply-to: <87fvlqz9yl.fsf@yahoo.fr> X-012-Sender: halo1@inter.net.il To: Nicolas Richard Message-id: <83wqf275qc.fsf@gnu.org> References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> <87r45aepnk.fsf@yahoo.fr> <831txa8lxc.fsf@gnu.org> <87fvlqz9yl.fsf@yahoo.fr> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17170 Cc: theonewiththeevillook@yahoo.fr, 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, > RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2 > From: Nicolas Richard > Cc: Nicolas Richard , 17170@debbugs.gnu.org > Date: Sun, 06 Apr 2014 18:41:54 +0200 > > Eli Zaretskii writes: > > Please describe how you started the remote session, and how you got > > into "emacs -nw" in the same session. There's something I must be > > missing here. > > the remote session was started by opening gnome-terminal, then doing: > $ tmux # this starts a new tmux session. > $ cd ~/path/to/emacs/src > $ gdb emacs # drops me in gdb. > (gdb) r -nw > > now emacs is started. I can detach from tmux and open graphical frames > using "emacsclient -c". > > When working remotely, I can either run emacsclient from ssh, or run > "tmux a" for reattaching the initial frame. The reason I do this is to > be able to reattach to the gdb session in case it takes control and I'm > working over ssh. > > I hope the picture is now complete. > > -- > Nico. > From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 06 13:02:01 2014 Received: (at 17170) by debbugs.gnu.org; 6 Apr 2014 17:02:01 +0000 Received: from localhost ([127.0.0.1]:38279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWqSH-0004XQ-0m for submit@debbugs.gnu.org; Sun, 06 Apr 2014 13:02:01 -0400 Received: from mtaout26.012.net.il ([80.179.55.182]:43368) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWqSE-0004XB-W1 for 17170@debbugs.gnu.org; Sun, 06 Apr 2014 13:01:59 -0400 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0N3M00G00CIDMI00@mtaout26.012.net.il> for 17170@debbugs.gnu.org; Sun, 06 Apr 2014 20:00:30 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N3M00BMTCKUI750@mtaout26.012.net.il>; Sun, 06 Apr 2014 20:00:30 +0300 (IDT) Date: Sun, 06 Apr 2014 20:01:45 +0300 From: Eli Zaretskii Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it In-reply-to: <87fvlqz9yl.fsf@yahoo.fr> X-012-Sender: halo1@inter.net.il To: Nicolas Richard Message-id: <83vbum75om.fsf@gnu.org> References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> <87r45aepnk.fsf@yahoo.fr> <831txa8lxc.fsf@gnu.org> <87fvlqz9yl.fsf@yahoo.fr> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17170 Cc: theonewiththeevillook@yahoo.fr, 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Nicolas Richard > Cc: Nicolas Richard , 17170@debbugs.gnu.org > Date: Sun, 06 Apr 2014 18:41:54 +0200 > > the remote session was started by opening gnome-terminal, then doing: > $ tmux # this starts a new tmux session. > $ cd ~/path/to/emacs/src > $ gdb emacs # drops me in gdb. > (gdb) r -nw > > now emacs is started. I can detach from tmux and open graphical frames > using "emacsclient -c". > > When working remotely, I can either run emacsclient from ssh, or run > "tmux a" for reattaching the initial frame. The reason I do this is to > be able to reattach to the gdb session in case it takes control and I'm > working over ssh. > > I hope the picture is now complete. Yes, thanks. However, I have no idea what does this tmux use do to Emacs. I guess someone who does should chime in. From debbugs-submit-bounces@debbugs.gnu.org Wed May 07 07:06:33 2014 Received: (at 17170) by debbugs.gnu.org; 7 May 2014 11:06:33 +0000 Received: from localhost ([127.0.0.1]:53620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WhzgG-0004pX-D9 for submit@debbugs.gnu.org; Wed, 07 May 2014 07:06:32 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:1992) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WhzgC-0004pK-Fu for 17170@debbugs.gnu.org; Wed, 07 May 2014 07:06:29 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At8EAH0SalOkD4Xx/2dsb2JhbABSCK8tAQEBBpoOAYExdIIlAQEEAXkQCxQBDCUPAQRJE4gsAQMJCKo2nU8Bhx8XhVaBf4RmgUFWB4Q/BIRaA5JuiDqGTIVhgzY7 Received: from mathsrv4.ulb.ac.be (HELO geodiff-mac3.ulb.ac.be) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 07 May 2014 13:06:26 +0200 From: Nicolas Richard To: Eli Zaretskii Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> <87r45aepnk.fsf@yahoo.fr> <831txa8lxc.fsf@gnu.org> <87fvlqz9yl.fsf@yahoo.fr> <83vbum75om.fsf@gnu.org> Date: Wed, 07 May 2014 13:07:18 +0200 In-Reply-To: <83vbum75om.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 06 Apr 2014 20:01:45 +0300") Message-ID: <87d2fpu9sp.fsf@geodiff-mac3.ulb.ac.be> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17170 Cc: Nicolas Richard , 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Eli Zaretskii writes: >> From: Nicolas Richard >> Cc: Nicolas Richard , 17170@debbugs.gnu.org >> Date: Sun, 06 Apr 2014 18:41:54 +0200 >> >> the remote session was started by opening gnome-terminal, then doing: >> $ tmux # this starts a new tmux session. >> $ cd ~/path/to/emacs/src >> $ gdb emacs # drops me in gdb. >> (gdb) r -nw >> >> now emacs is started. I can detach from tmux and open graphical frames >> using "emacsclient -c". >> >> When working remotely, I can either run emacsclient from ssh, or run >> "tmux a" for reattaching the initial frame. The reason I do this is to >> be able to reattach to the gdb session in case it takes control and I'm >> working over ssh. >> >> I hope the picture is now complete. > > Yes, thanks. However, I have no idea what does this tmux use do to > Emacs. I guess someone who does should chime in. Could it be that the patch in bug#17413 will fix this problem ? -- Nico. From debbugs-submit-bounces@debbugs.gnu.org Wed May 07 11:17:38 2014 Received: (at 17170) by debbugs.gnu.org; 7 May 2014 15:17:38 +0000 Received: from localhost ([127.0.0.1]:54679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wi3bF-0005Wj-Tc for submit@debbugs.gnu.org; Wed, 07 May 2014 11:17:38 -0400 Received: from mtaout26.012.net.il ([80.179.55.182]:51683) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wi3bD-0005WS-88 for 17170@debbugs.gnu.org; Wed, 07 May 2014 11:17:36 -0400 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0N5700B00MBSVS00@mtaout26.012.net.il> for 17170@debbugs.gnu.org; Wed, 07 May 2014 18:14:45 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N5700B8RMCKQD00@mtaout26.012.net.il>; Wed, 07 May 2014 18:14:45 +0300 (IDT) Date: Wed, 07 May 2014 18:17:38 +0300 From: Eli Zaretskii Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it In-reply-to: <87d2fpu9sp.fsf@geodiff-mac3.ulb.ac.be> X-012-Sender: halo1@inter.net.il To: Nicolas Richard Message-id: <83wqdxwrcd.fsf@gnu.org> References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> <87r45aepnk.fsf@yahoo.fr> <831txa8lxc.fsf@gnu.org> <87fvlqz9yl.fsf@yahoo.fr> <83vbum75om.fsf@gnu.org> <87d2fpu9sp.fsf@geodiff-mac3.ulb.ac.be> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17170 Cc: 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Nicolas Richard > Cc: Nicolas Richard , 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? From debbugs-submit-bounces@debbugs.gnu.org Wed May 07 11:25:40 2014 Received: (at 17170) by debbugs.gnu.org; 7 May 2014 15:25:40 +0000 Received: from localhost ([127.0.0.1]:54689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wi3j1-0005mF-2M for submit@debbugs.gnu.org; Wed, 07 May 2014 11:25:39 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:5133) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wi3ix-0005ly-9O for 17170@debbugs.gnu.org; Wed, 07 May 2014 11:25:36 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqkBAKZPalOkD4Xx/2dsb2JhbAANRQivMAEBAQaaDgGBL4MZAQEBBDIBRQEQCxQBDBYPCQMCAQIBRQYNAQUCAQGIKAEDqUqBSJ1QAYcfF4VWgX+EZoFBVgeEPwEDhFoDkm6BbIZOhkyJFw Received: from mathsrv4.ulb.ac.be (HELO [172.19.79.241]) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 07 May 2014 17:25:33 +0200 Message-ID: <536A50A0.8070602@yahoo.fr> Date: Wed, 07 May 2014 17:26:24 +0200 From: Nicolas Richard User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> <87r45aepnk.fsf@yahoo.fr> <831txa8lxc.fsf@gnu.org> <87fvlqz9yl.fsf@yahoo.fr> <83vbum75om.fsf@gnu.org> <87d2fpu9sp.fsf@geodiff-mac3.ulb.ac.be> <83wqdxwrcd.fsf@gnu.org> In-Reply-To: <83wqdxwrcd.fsf@gnu.org> X-TagToolbar-Keys: D20140507172624936 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17170 Cc: 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Le 07/05/2014 17:17, Eli Zaretskii a écrit : >> From: Nicolas Richard >> Cc: Nicolas Richard , 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? Because I can't reproduce my bug. In fact I'll admit that my previous message was sent a bit hastily : I was trying to cancel it and instead it got sent. Sorry for that noise. -- Nico. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 20 11:47:21 2015 Received: (at 17170) by debbugs.gnu.org; 20 Mar 2015 15:47:21 +0000 Received: from localhost ([127.0.0.1]:59273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YYz8r-0000mv-5g for submit@debbugs.gnu.org; Fri, 20 Mar 2015 11:47:21 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:43870) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YYz8l-0000mi-Vq for 17170@debbugs.gnu.org; Fri, 20 Mar 2015 11:47:20 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApYBAMNADFWkD4Xx/2dsb2JhbAANRwiEMrM7BpkMAoF/AQEBAQEBhRIBAQQyAUUBEAsUAQwWDwkDAgECAUUGDQEFAgEBiBYBA7B5gluSTQGGDQEBAQEBAQEDAQEBAQEBAQEBGYYKgi2CYIJEgVdWB4QtAQSFCgqJKoo1gUaBG4VZMIZehiaCJByBUW6CQwEBAQ Received: from mathsrv4.ulb.ac.be (HELO [172.19.79.241]) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 20 Mar 2015 16:46:50 +0100 Message-ID: <550C4126.1000008@yahoo.fr> Date: Fri, 20 Mar 2015 16:47:50 +0100 From: Nicolas Richard User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> <87r45aepnk.fsf@yahoo.fr> <831txa8lxc.fsf@gnu.org> <87fvlqz9yl.fsf@yahoo.fr> <83vbum75om.fsf@gnu.org> <87d2fpu9sp.fsf@geodiff-mac3.ulb.ac.be> <83wqdxwrcd.fsf@gnu.org> In-Reply-To: <83wqdxwrcd.fsf@gnu.org> X-TagToolbar-Keys: D20150320164750828 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17170 Cc: 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Le 07/05/2014 17:17, Eli Zaretskii a écrit : >> From: Nicolas Richard >> Cc: Nicolas Richard , 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: # -- emacs@localhost (server) 0xfdaa5d8> ;; Tree: (#> #) ;; Frame: # ;; Tree: ((t (0 0 10 9) # #) #)" 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 20 12:42:51 2015 Received: (at 17170) by debbugs.gnu.org; 20 Mar 2015 16:42:51 +0000 Received: from localhost ([127.0.0.1]:59315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZ00Z-00029Y-Ca for submit@debbugs.gnu.org; Fri, 20 Mar 2015 12:42:51 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:44999) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZ00W-00029H-Iv for 17170@debbugs.gnu.org; Fri, 20 Mar 2015 12:42:50 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NLI00D00RODE400@a-mtaout22.012.net.il> for 17170@debbugs.gnu.org; Fri, 20 Mar 2015 18:42:41 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLI00CENRR2VR90@a-mtaout22.012.net.il>; Fri, 20 Mar 2015 18:42:39 +0200 (IST) Date: Fri, 20 Mar 2015 18:42:36 +0200 From: Eli Zaretskii Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it In-reply-to: <550C4126.1000008@yahoo.fr> X-012-Sender: halo1@inter.net.il To: Nicolas Richard Message-id: <83twxfvcw3.fsf@gnu.org> References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> <87r45aepnk.fsf@yahoo.fr> <831txa8lxc.fsf@gnu.org> <87fvlqz9yl.fsf@yahoo.fr> <83vbum75om.fsf@gnu.org> <87d2fpu9sp.fsf@geodiff-mac3.ulb.ac.be> <83wqdxwrcd.fsf@gnu.org> <550C4126.1000008@yahoo.fr> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17170 Cc: 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 20 Mar 2015 16:47:50 +0100 > From: Nicolas Richard > CC: 17170@debbugs.gnu.org > > 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 ? Hard to tell. Can you be more specific about "access that frame"? What kind of access are we talking about? What happens if you delete that frame? From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 20 12:54:24 2015 Received: (at 17170) by debbugs.gnu.org; 20 Mar 2015 16:54:24 +0000 Received: from localhost ([127.0.0.1]:59338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZ0Bj-0002Qy-O7 for submit@debbugs.gnu.org; Fri, 20 Mar 2015 12:54:23 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:64372) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZ0Bh-0002Qp-6j for 17170@debbugs.gnu.org; Fri, 20 Mar 2015 12:54:21 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApYBAOdPDFWkD4Xx/2dsb2JhbAANRwiEMrM7BpkMAoIAAQEBAQEBhREBAQEDATIBRQEFCwsUAQwWDwkDAgECAUUGDQEFAgEBiBYBAwmwbIJbkkYBhg0BAQEBAQEBAQIBAQEBAQEBAQEBAReGCoItgmCCRIFXVgeELQEEhQoKiSqKNYFGgRuFWTCGXoYmgiQcgVFugkMBAQE Received: from mathsrv4.ulb.ac.be (HELO [172.19.79.241]) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 20 Mar 2015 17:54:19 +0100 Message-ID: <550C50F8.1090606@yahoo.fr> Date: Fri, 20 Mar 2015 17:55:20 +0100 From: Nicolas Richard User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> <87r45aepnk.fsf@yahoo.fr> <831txa8lxc.fsf@gnu.org> <87fvlqz9yl.fsf@yahoo.fr> <83vbum75om.fsf@gnu.org> <87d2fpu9sp.fsf@geodiff-mac3.ulb.ac.be> <83wqdxwrcd.fsf@gnu.org> <550C4126.1000008@yahoo.fr> <83twxfvcw3.fsf@gnu.org> In-Reply-To: <83twxfvcw3.fsf@gnu.org> X-TagToolbar-Keys: D20150320175520021 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17170 Cc: 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Le 20/03/2015 17:42, Eli Zaretskii a écrit : >> Date: Fri, 20 Mar 2015 16:47:50 +0100 >> From: Nicolas Richard >> CC: 17170@debbugs.gnu.org >> >> 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 ? > > Hard to tell. Can you be more specific about "access that frame"? > What kind of access are we talking about? IMO that frame should not ever be used for displaying a buffer, so if emacs ever tries to do that, I want to know why it does it. > What happens if you delete that frame? I did (delete-frame (cadr (frame-list))), and now I can't delete my GUI frame anymore : if I do "C-x C-c", emacs asks me if I want to exit emacs. If I do C-x 5 0, I get: Debugger entered--Lisp error: (error "Attempt to delete the sole visible or iconified frame") Nicolas. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 20 13:47:32 2015 Received: (at 17170) by debbugs.gnu.org; 20 Mar 2015 17:47:32 +0000 Received: from localhost ([127.0.0.1]:59348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZ119-00056U-KA for submit@debbugs.gnu.org; Fri, 20 Mar 2015 13:47:32 -0400 Received: from mtaout28.012.net.il ([80.179.55.184]:52041) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZ117-00055u-CR for 17170@debbugs.gnu.org; Fri, 20 Mar 2015 13:47:30 -0400 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NLI00K00UBQNE00@mtaout28.012.net.il> for 17170@debbugs.gnu.org; Fri, 20 Mar 2015 19:45:59 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLI00FETUOMIZ50@mtaout28.012.net.il>; Fri, 20 Mar 2015 19:45:59 +0200 (IST) Date: Fri, 20 Mar 2015 19:47:21 +0200 From: Eli Zaretskii Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it In-reply-to: <550C50F8.1090606@yahoo.fr> X-012-Sender: halo1@inter.net.il To: Nicolas Richard Message-id: <83pp83v9w6.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 8BIT References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> <87r45aepnk.fsf@yahoo.fr> <831txa8lxc.fsf@gnu.org> <87fvlqz9yl.fsf@yahoo.fr> <83vbum75om.fsf@gnu.org> <87d2fpu9sp.fsf@geodiff-mac3.ulb.ac.be> <83wqdxwrcd.fsf@gnu.org> <550C4126.1000008@yahoo.fr> <83twxfvcw3.fsf@gnu.org> <550C50F8.1090606@yahoo.fr> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17170 Cc: 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 20 Mar 2015 17:55:20 +0100 > From: Nicolas Richard > CC: 17170@debbugs.gnu.org > > Le 20/03/2015 17:42, Eli Zaretskii a écrit : > >> Date: Fri, 20 Mar 2015 16:47:50 +0100 > >> From: Nicolas Richard > >> CC: 17170@debbugs.gnu.org > >> > >> 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 ? > > > > Hard to tell. Can you be more specific about "access that frame"? > > What kind of access are we talking about? > > IMO that frame should not ever be used for displaying a buffer Why not? Isn't it just a regular frame? > > What happens if you delete that frame? > > I did (delete-frame (cadr (frame-list))), and now I can't delete my GUI frame anymore : if I do "C-x C-c", emacs asks me if I want to exit emacs. If I do C-x 5 0, I get: > Debugger entered--Lisp error: (error "Attempt to delete the sole visible or iconified frame") That's expected, but the question is does the problem go away? From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 20 14:38:03 2015 Received: (at 17170) by debbugs.gnu.org; 20 Mar 2015 18:38:03 +0000 Received: from localhost ([127.0.0.1]:59357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZ1o2-0008AR-Nz for submit@debbugs.gnu.org; Fri, 20 Mar 2015 14:38:03 -0400 Received: from mailrelay112.isp.belgacom.be ([195.238.20.139]:45326) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZ1o1-00089c-CG for 17170@debbugs.gnu.org; Fri, 20 Mar 2015 14:38:01 -0400 X-Belgacom-Dynamic: yes X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=U3bOsIs4jTLKnNjizNqmwgH4x/ZVWD6r1e7q5IgUJPc= c=1 sm=2 a=a4K5GIyuExAA:10 a=mDV3o1hIAAAA:8 a=6m709yajtB1UnHgEji0A:9 Received: from 239.187-177-91.adsl-dyn.isp.belgacom.be (HELO LDLC-portable) ([91.177.187.239]) by relay.skynet.be with ESMTP; 20 Mar 2015 19:37:55 +0100 From: Nicolas Richard To: Eli Zaretskii Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> <87r45aepnk.fsf@yahoo.fr> <831txa8lxc.fsf@gnu.org> <87fvlqz9yl.fsf@yahoo.fr> <83vbum75om.fsf@gnu.org> <87d2fpu9sp.fsf@geodiff-mac3.ulb.ac.be> <83wqdxwrcd.fsf@gnu.org> <550C4126.1000008@yahoo.fr> <83twxfvcw3.fsf@gnu.org> <550C50F8.1090606@yahoo.fr> <83pp83v9w6.fsf@gnu.org> Date: Fri, 20 Mar 2015 19:37:54 +0100 In-Reply-To: <83pp83v9w6.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 20 Mar 2015 19:47:21 +0200") Message-ID: <871tkjwm4d.fsf@yahoo.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17170 Cc: Nicolas Richard , 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli Zaretskii writes: >> From: Nicolas Richard >> IMO that frame should not ever be used for displaying a buffer > > Why not? Isn't it just a regular frame? No : I never see it. IIUC running "emacs --daemon" creates that frame but it is never shown to me. >> > What happens if you delete that frame? >> >> I did (delete-frame (cadr (frame-list))), and now I can't delete my >> GUI frame anymore : if I do "C-x C-c", emacs asks me if I want to >> exit emacs. If I do C-x 5 0, I get: >> Debugger entered--Lisp error: (error "Attempt to delete the sole visible or iconified frame") > > That's expected, but the question is does the problem go away? The problem was already gone after changing debugger-previous-window. -- Nicolas From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 20 15:54:28 2015 Received: (at 17170) by debbugs.gnu.org; 20 Mar 2015 19:54:29 +0000 Received: from localhost ([127.0.0.1]:59382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZ300-0003rU-KW for submit@debbugs.gnu.org; Fri, 20 Mar 2015 15:54:28 -0400 Received: from mout.gmx.net ([212.227.17.20]:59990) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZ2zy-0003rA-B1 for 17170@debbugs.gnu.org; Fri, 20 Mar 2015 15:54:27 -0400 Received: from [188.22.44.177] ([188.22.44.177]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MFAaV-1YkoIS2plT-00GEfw; Fri, 20 Mar 2015 20:54:19 +0100 Message-ID: <550C7AE3.8060501@gmx.at> Date: Fri, 20 Mar 2015 20:54:11 +0100 From: martin rudalics MIME-Version: 1.0 To: Nicolas Richard , Eli Zaretskii Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> <87r45aepnk.fsf@yahoo.fr> <831txa8lxc.fsf@gnu.org> <87fvlqz9yl.fsf@yahoo.fr> <83vbum75om.fsf@gnu.org> <87d2fpu9sp.fsf@geodiff-mac3.ulb.ac.be> <83wqdxwrcd.fsf@gnu.org> <550C4126.1000008@yahoo.fr> In-Reply-To: <550C4126.1000008@yahoo.fr> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:VbEnqT52fz4JudR55yIDHz6Id6AhfhAdrRVMePDfwvRz5kCH9XN /3d1bXA1PVWnLPupWyAiSG6LFlItHooElg/1ZxKOXegUEZAOeKWkL96YHPwTjsyv4/psK6i z5omTQrtBS9WvUxzbTDZi3eqEBlDhOOGVf5MMKBIZeT3NdcvfLHVtt3hMkPSJ514flBE66b h1b+H+DRI384284JCLPMw== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17170 Cc: 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > ;; 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"). When it happens again please tell me the value of `debugger-previous-window'. AFAICT this can only happen when that window was shown on the "initial frame F1" before. martin From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 21 13:46:36 2015 Received: (at 17170) by debbugs.gnu.org; 21 Mar 2015 17:46:36 +0000 Received: from localhost ([127.0.0.1]:60016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZNTo-00043z-Bs for submit@debbugs.gnu.org; Sat, 21 Mar 2015 13:46:36 -0400 Received: from mailrelay108.isp.belgacom.be ([195.238.20.135]:46362) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZNTi-00043f-A8 for 17170@debbugs.gnu.org; Sat, 21 Mar 2015 13:46:34 -0400 X-Belgacom-Dynamic: yes X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=M25fSHNwW0AVyF8PBjdaZiLQS1FBtLFJFIDkHdlBKq0= c=1 sm=2 a=a4K5GIyuExAA:10 a=1vXTEY60cIbllEjIRPAA:9 Received: from 245.137-246-81.adsl-dyn.isp.belgacom.be (HELO LDLC-portable) ([81.246.137.245]) by relay.skynet.be with ESMTP; 21 Mar 2015 18:46:20 +0100 From: Nicolas Richard To: martin rudalics Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> <87r45aepnk.fsf@yahoo.fr> <831txa8lxc.fsf@gnu.org> <87fvlqz9yl.fsf@yahoo.fr> <83vbum75om.fsf@gnu.org> <87d2fpu9sp.fsf@geodiff-mac3.ulb.ac.be> <83wqdxwrcd.fsf@gnu.org> <550C4126.1000008@yahoo.fr> <550C7AE3.8060501@gmx.at> Date: Sat, 21 Mar 2015 18:46:20 +0100 In-Reply-To: <550C7AE3.8060501@gmx.at> (martin rudalics's message of "Fri, 20 Mar 2015 20:54:11 +0100") Message-ID: <87d242tf9v.fsf@yahoo.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17170 Cc: Nicolas Richard , Eli Zaretskii , 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Hi martin, martin rudalics writes: >> ;; 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"). > > When it happens again please tell me the value of > `debugger-previous-window'. AFAICT this can only happen when that > window was shown on the "initial frame F1" before. Yes it was a window on that frame (window 4 IIRC). I remember that because this is the reason I did (setq debugger-previous-window (selected-window)) to bring the debugger back to my frame. -- Nicolas. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 22 08:05:49 2015 Received: (at 17170) by debbugs.gnu.org; 22 Mar 2015 12:05:49 +0000 Received: from localhost ([127.0.0.1]:60337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZedZ-0005jD-91 for submit@debbugs.gnu.org; Sun, 22 Mar 2015 08:05:49 -0400 Received: from mout.gmx.net ([212.227.17.21]:57280) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZedW-0005iz-Ee for 17170@debbugs.gnu.org; Sun, 22 Mar 2015 08:05:47 -0400 Received: from [188.23.125.113] ([188.23.125.113]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0Lb5Tp-1ZFZ681xaD-00kfKj; Sun, 22 Mar 2015 13:05:29 +0100 Message-ID: <550EAFFD.2070607@gmx.at> Date: Sun, 22 Mar 2015 13:05:17 +0100 From: martin rudalics MIME-Version: 1.0 To: Nicolas Richard Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> <87r45aepnk.fsf@yahoo.fr> <831txa8lxc.fsf@gnu.org> <87fvlqz9yl.fsf@yahoo.fr> <83vbum75om.fsf@gnu.org> <87d2fpu9sp.fsf@geodiff-mac3.ulb.ac.be> <83wqdxwrcd.fsf@gnu.org> <550C4126.1000008@yahoo.fr> <550C7AE3.8060501@gmx.at> <87d242tf9v.fsf@yahoo.fr> In-Reply-To: <87d242tf9v.fsf@yahoo.fr> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:0mjHBV8QqG6z5bqm09XgCnPpFE2QmvwUU69SEgsb/ONOYWDdTAr OXSSIFqG5zQtiNBJUC8kl4Bcj6nrHZCMgRf2X5npvXU7xe1tMRH3wPqeWeSU53EFgWSqsOu I5Eua4Ep7ESnoCGIag258eZ+zb6RbzthLKnu0vz1EpFCsGyg0fwiHPEI18/m6zRaua+T249 BPReWurolatq77EbLOoUA== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17170 Cc: Eli Zaretskii , 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> When it happens again please tell me the value of >> `debugger-previous-window'. AFAICT this can only happen when that >> window was shown on the "initial frame F1" before. > > Yes it was a window on that frame (window 4 IIRC). I remember that > because this is the reason I did > (setq debugger-previous-window (selected-window)) > to bring the debugger back to my frame. I can't understand what happened here because the only way to set `debugger-previous-window' is via invoking `debug' and then doing unconditionally (setq debugger-window (selected-window)) followed by (setq debugger-previous-window debugger-window)) so the window must have been the selected window when `debug' was called the last time and Emacs should have complained then already. Anyway. I checked in a fix for Emacs 24.5 which should avoid this problem now. If you want to try it immediately please apply: --- a/lisp/emacs-lisp/debug.el +++ b/lisp/emacs-lisp/debug.el @@ -192,7 +192,9 @@ first will be printed into the backtrace buffer." debugger-buffer `((display-buffer-reuse-window display-buffer-in-previous-window) - . (,(when debugger-previous-window + . (,(when (and (window-live-p debugger-previous-window) + (frame-visible-p + (window-frame debugger-previous-window))) `(previous-window . ,debugger-previous-window))))) (setq debugger-window (selected-window)) (if (eq debugger-previous-window debugger-window) martin From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 22 13:56:19 2015 Received: (at 17170) by debbugs.gnu.org; 22 Mar 2015 17:56:19 +0000 Received: from localhost ([127.0.0.1]:60873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZk6k-0005iE-L8 for submit@debbugs.gnu.org; Sun, 22 Mar 2015 13:56:19 -0400 Received: from mailrelay108.isp.belgacom.be ([195.238.20.135]:13446) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZk6i-0005hz-3d for 17170@debbugs.gnu.org; Sun, 22 Mar 2015 13:56:17 -0400 X-Belgacom-Dynamic: yes X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=M25fSHNwW0AVyF8PBjdaZiLQS1FBtLFJFIDkHdlBKq0= c=1 sm=2 a=a4K5GIyuExAA:10 a=jpRA5F8J-i9gqEZOqB0A:9 Received: from 239.187-177-91.adsl-dyn.isp.belgacom.be (HELO LDLC-portable) ([91.177.187.239]) by relay.skynet.be with ESMTP; 22 Mar 2015 18:56:09 +0100 From: Nicolas Richard To: martin rudalics Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> <87r45aepnk.fsf@yahoo.fr> <831txa8lxc.fsf@gnu.org> <87fvlqz9yl.fsf@yahoo.fr> <83vbum75om.fsf@gnu.org> <87d2fpu9sp.fsf@geodiff-mac3.ulb.ac.be> <83wqdxwrcd.fsf@gnu.org> <550C4126.1000008@yahoo.fr> <550C7AE3.8060501@gmx.at> <87d242tf9v.fsf@yahoo.fr> <550EAFFD.2070607@gmx.at> Date: Sun, 22 Mar 2015 18:56:07 +0100 In-Reply-To: <550EAFFD.2070607@gmx.at> (martin rudalics's message of "Sun, 22 Mar 2015 13:05:17 +0100") Message-ID: <87mw34syq0.fsf@yahoo.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17170 Cc: Nicolas Richard , Eli Zaretskii , 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) martin rudalics writes: > so the window must have been the selected window when `debug' was called > the last time and Emacs should have complained then already. I didn't check the value of debugger-previous-window right after the first complaint. I can try to do that, if it happens again, but since it only happens in case of an error, my first reaction usually is to try the command again (because I assume I made an error myself) and then it's too late. > Anyway. I checked in a fix for Emacs 24.5 which should avoid this > problem now. If you want to try it immediately please apply: Thanks. -- Nicolas From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 26 09:08:55 2015 Received: (at 17170) by debbugs.gnu.org; 26 Dec 2015 14:08:55 +0000 Received: from localhost ([127.0.0.1]:37220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCpWg-0005E1-Sw for submit@debbugs.gnu.org; Sat, 26 Dec 2015 09:08:55 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:40452) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCpWe-0005Dt-DJ for 17170@debbugs.gnu.org; Sat, 26 Dec 2015 09:08:53 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aCpWI-000887-Kt; Sat, 26 Dec 2015 15:08:30 +0100 From: Lars Ingebrigtsen To: Nicolas Richard Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> <87r45aepnk.fsf@yahoo.fr> <831txa8lxc.fsf@gnu.org> <87fvlqz9yl.fsf@yahoo.fr> <83vbum75om.fsf@gnu.org> <87d2fpu9sp.fsf@geodiff-mac3.ulb.ac.be> <83wqdxwrcd.fsf@gnu.org> <550C4126.1000008@yahoo.fr> <550C7AE3.8060501@gmx.at> <87d242tf9v.fsf@yahoo.fr> <550EAFFD.2070607@gmx.at> <87mw34syq0.fsf@yahoo.fr> Date: Sat, 26 Dec 2015 15:08:29 +0100 In-Reply-To: <87mw34syq0.fsf@yahoo.fr> (Nicolas Richard's message of "Sun, 22 Mar 2015 18:56:07 +0100") Message-ID: <87wps1z4iq.fsf@gnus.org> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aCpWI-000887-Kt X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451743711.10273@8beDiZRkOy50qxVyXMCFYw X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17170 Cc: martin rudalics , Eli Zaretskii , 17170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Nicolas Richard writes: > martin rudalics writes: >> so the window must have been the selected window when `debug' was called >> the last time and Emacs should have complained then already. > > I didn't check the value of debugger-previous-window right after the > first complaint. I can try to do that, if it happens again, but since it > only happens in case of an error, my first reaction usually is to try > the command again (because I assume I made an error myself) and then > it's too late. Are you still seeing this problem? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 26 14:15:43 2015 Received: (at 17170-done) by debbugs.gnu.org; 26 Dec 2015 19:15:43 +0000 Received: from localhost ([127.0.0.1]:42122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCuJb-0003I1-Av for submit@debbugs.gnu.org; Sat, 26 Dec 2015 14:15:43 -0500 Received: from mailrelay103.isp.belgacom.be ([195.238.20.130]:20023) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCuJZ-00038G-Q4 for 17170-done@debbugs.gnu.org; Sat, 26 Dec 2015 14:15:42 -0500 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2ApCQCF5n5W/xpbyFBWCIM6gT+IWaErBAEBAQEBAQUBgQyUDYYPAoEOPRABAQEBAQEBgQqENQEBAwFWIwULCAMhJQ8BKR4GE4gaAwoMu0MBAQEBBgIBIIYOhUeCT4FjBQEBhQQFhh0MkF2LX4NOh26FMYZhg2aDdDkrhAw9NINugUIBAQE Received: from 26.91-200-80.adsl-dyn.isp.belgacom.be (HELO Aurora) ([80.200.91.26]) by relay.skynet.be with ESMTP; 26 Dec 2015 20:15:35 +0100 References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> <87r45aepnk.fsf@yahoo.fr> <831txa8lxc.fsf@gnu.org> <87fvlqz9yl.fsf@yahoo.fr> <83vbum75om.fsf@gnu.org> <87d2fpu9sp.fsf@geodiff-mac3.ulb.ac.be> <83wqdxwrcd.fsf@gnu.org> <550C4126.1000008@yahoo.fr> <550C7AE3.8060501@gmx.at> <87d242tf9v.fsf@yahoo.fr> <550EAFFD.2070607@gmx.at> <87mw34syq0.fsf@yahoo.fr> <87wps1z4iq.fsf@gnus.org> User-agent: mu4e 0.9.15; emacs 25.0.50.1 From: Nicolas Richard To: Lars Ingebrigtsen Subject: Re: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it In-reply-to: <87wps1z4iq.fsf@gnus.org> Date: Sat, 26 Dec 2015 20:15:34 +0100 Message-ID: <86r3i96my1.fsf@members.fsf.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17170-done Cc: martin rudalics , Eli Zaretskii , 17170-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi, Lars Ingebrigtsen writes: > Nicolas Richard writes: > >> martin rudalics writes: >>> so the window must have been the selected window when `debug' was called >>> the last time and Emacs should have complained then already. >> >> I didn't check the value of debugger-previous-window right after the >> first complaint. I can try to do that, if it happens again, but since it >> only happens in case of an error, my first reaction usually is to try >> the command again (because I assume I made an error myself) and then >> it's too late. > > Are you still seeing this problem? Probably not, or I got used to it (unlikely). I close the bug for now, thanks for your mail. Nicolas. From unknown Fri Aug 15 03:56:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 24 Jan 2016 12:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator