From unknown Fri Aug 15 14:47:09 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#27901 <27901@debbugs.gnu.org> To: bug#27901 <27901@debbugs.gnu.org> Subject: Status: 25.1; x-win-suspend-error: Cannot suspend Emacs while running under X Reply-To: bug#27901 <27901@debbugs.gnu.org> Date: Fri, 15 Aug 2025 21:47:09 +0000 retitle 27901 25.1; x-win-suspend-error: Cannot suspend Emacs while running= under X reassign 27901 emacs submitter 27901 Francesco Potort=C3=AC severity 27901 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 01 05:02:03 2017 Received: (at submit) by debbugs.gnu.org; 1 Aug 2017 09:02:03 +0000 Received: from localhost ([127.0.0.1]:36081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcT3y-0005q1-Lp for submit@debbugs.gnu.org; Tue, 01 Aug 2017 05:02:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34373) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcT3w-0005pX-2W for submit@debbugs.gnu.org; Tue, 01 Aug 2017 05:02:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcT3m-0004tk-IG for submit@debbugs.gnu.org; Tue, 01 Aug 2017 05:01:55 -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,T_MANY_HDRS_LCASE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37216) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dcT3m-0004tT-EQ for submit@debbugs.gnu.org; Tue, 01 Aug 2017 05:01:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcT3Y-0001Pf-BM for bug-gnu-emacs@gnu.org; Tue, 01 Aug 2017 05:01:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcT3N-0004bv-Qb for bug-gnu-emacs@gnu.org; Tue, 01 Aug 2017 05:01:36 -0400 Received: from mx-all.isti.cnr.it ([194.119.192.3]:13766 helo=blade3.isti.cnr.it) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dcT3N-0004Wu-CK for bug-gnu-emacs@gnu.org; Tue, 01 Aug 2017 05:01:25 -0400 Received: from tucano.isti.cnr.it ([146.48.81.102]) by mx-all.isti.cnr.it (PMDF V6.5-x6 #1609) with ESMTPSA id <01QHE7FF7J4CJ8Z6TE@mx-all.isti.cnr.it> for bug-gnu-emacs@gnu.org; Tue, 01 Aug 2017 11:00:04 +0200 (MEST) Received: from pot by tucano.isti.cnr.it with local (Exim 4.89) (envelope-from ) id 1dcT3G-0002q1-OT for bug-gnu-emacs@gnu.org; Tue, 01 Aug 2017 11:01:18 +0200 Date: Tue, 01 Aug 2017 11:01:18 +0200 From: =?utf-8?Q?Francesco_Potort=C3=AC?= Subject: 25.1; x-win-suspend-error: Cannot suspend Emacs while running under X To: bug-gnu-emacs@gnu.org Message-id: Organization: CNR-ISTI, via Moruzzi 1, I-56124 Pisa, +39-0503153058 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8bit X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit 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: -4.0 (----) I have Emacs running in a terminal under screen. From there, I open a frame under X. So I have a text frame under screen and a graphical frame under X. When the graphical frame is open, if I try to suspend Emacs from the terminal, I get the error in the subject, whose meaning is obscure. When I close the X frame, Emacs can be suspended normally. If the error is only issued in the case I just described, then it should be rephrased, with something like "cannot suspend Emacs when a graphical frame exists". It would also be nice if the message explained how to close the graphical frame from the text frame. I tried (delete-frame (next-frame)) from the text frame but the only result was that the text frame became unusable (not responding to commands any more). In GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2017-04-23, modified by Debian built on trouble Windowing system distributor 'The X.Org Foundation', version 11.0.11902000 System Description: Debian GNU/Linux 9.1 (stretch) Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --with-x=yes --with-x-toolkit=lucid --with-toolkit-scroll-bars --without-gconf --without-gsettings 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs25-d2FC1K/emacs25-25.1+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 Important settings: value of $LC_COLLATE: it_IT.UTF-8 value of $LC_CTYPE: it_IT.UTF-8 value of $LC_NUMERIC: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Help Minor modes in effect: diff-auto-refine-mode: t TeX-PDF-mode: t desktop-save-mode: t epa-global-mail-mode: t shell-dirtrack-mode: t openwith-mode: t xterm-mouse-mode: t display-time-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-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 buffer-read-only: t column-number-mode: t line-number-mode: t Recent messages: No following nondeleted message Expunging deleted messages...done Showing message 382... [2 times] Saving file /home/pot/Mail/NOTIZIE... Wrote /home/pot/Mail/NOTIZIE [2 times] Sunrise 6:08am (CEST), sunset 8:40pm (CEST) at Pisa (14:31 hrs daylight) Preparing diary...done Type "q" in help window to restore its previous buffer. x-win-suspend-error: Cannot suspend Emacs while running under X [2 times] Making completion list... [2 times] Load-path shadows: ~/elisp/bhl hides /usr/share/emacs/25.1/site-lisp/bhl ~/elisp/bhl hides /usr/share/emacs/site-lisp/bhl /usr/share/emacs/25.1/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs25/site-lisp/flim/md4 hides /usr/share/emacs/25.1/lisp/md4 /usr/share/emacs25/site-lisp/flim/hex-util hides /usr/share/emacs/25.1/lisp/hex-util /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/25.1/lisp/textmodes/rst ~/elisp/bibtex hides /usr/share/emacs/25.1/lisp/textmodes/bibtex ~/elisp/octave hides /usr/share/emacs/25.1/lisp/progmodes/octave /usr/share/emacs25/site-lisp/flim/ntlm hides /usr/share/emacs/25.1/lisp/net/ntlm /usr/share/emacs25/site-lisp/flim/hmac-md5 hides /usr/share/emacs/25.1/lisp/net/hmac-md5 /usr/share/emacs25/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/25.1/lisp/net/sasl-ntlm /usr/share/emacs25/site-lisp/flim/sasl-digest hides /usr/share/emacs/25.1/lisp/net/sasl-digest /usr/share/emacs25/site-lisp/flim/sasl hides /usr/share/emacs/25.1/lisp/net/sasl /usr/share/emacs25/site-lisp/flim/sasl-cram hides /usr/share/emacs/25.1/lisp/net/sasl-cram /usr/share/emacs25/site-lisp/flim/hmac-def hides /usr/share/emacs/25.1/lisp/net/hmac-def /usr/share/emacs25/site-lisp/auctex/tex-fold hides /usr/share/emacs/site-lisp/auctex/tex-fold /usr/share/emacs25/site-lisp/auctex/context-en hides /usr/share/emacs/site-lisp/auctex/context-en /usr/share/emacs25/site-lisp/auctex/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info /usr/share/emacs25/site-lisp/auctex/plain-tex hides /usr/share/emacs/site-lisp/auctex/plain-tex /usr/share/emacs25/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-lisp/auctex/tex-mik /usr/share/emacs25/site-lisp/auctex/texmathp hides /usr/share/emacs/site-lisp/auctex/texmathp /usr/share/emacs25/site-lisp/auctex/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl /usr/share/emacs25/site-lisp/auctex/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x /usr/share/emacs25/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp/auctex/tex /usr/share/emacs25/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-lisp/auctex/tex-jp /usr/share/emacs25/site-lisp/auctex/tex-ispell hides /usr/share/emacs/site-lisp/auctex/tex-ispell /usr/share/emacs25/site-lisp/auctex/bib-cite hides /usr/share/emacs/site-lisp/auctex/bib-cite /usr/share/emacs25/site-lisp/auctex/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt /usr/share/emacs25/site-lisp/auctex/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex /usr/share/emacs25/site-lisp/auctex/prv-emacs hides /usr/share/emacs/site-lisp/auctex/prv-emacs /usr/share/emacs25/site-lisp/auctex/tex-style hides /usr/share/emacs/site-lisp/auctex/tex-style /usr/share/emacs25/site-lisp/auctex/context hides /usr/share/emacs/site-lisp/auctex/context /usr/share/emacs25/site-lisp/auctex/preview hides /usr/share/emacs/site-lisp/auctex/preview /usr/share/emacs25/site-lisp/auctex/tex-font hides /usr/share/emacs/site-lisp/auctex/tex-font /usr/share/emacs25/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-lisp/auctex/tex-bar /usr/share/emacs25/site-lisp/auctex/latex hides /usr/share/emacs/site-lisp/auctex/latex /usr/share/emacs25/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf Features: (shadow emacsbug deb-view url-http url url-proxy url-privacy url-history url-auth url-cookie url-domsuf url-gw url-expand url-methods apropos tramp-cmds sort two-column iso-transl log-edit pcvs-util add-log diff-mode vc mailcap mail-extr debug pp eieio-opt speedbar sb-image ezimage dframe find-func w3m-form w3m-filter w3m-cookie w3m-bookmark w3m-tabmenu w3m-session w3m doc-view w3m-hist w3m-fb bookmark-w3m w3m-ems wid-edit w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util tramp-cache tramp-sh locate arc-mode archive-mode find-dired macros ispell grep tabify dired-aux etags xref project rect unrmail timezone rmailsort dabbrev network-stream nsm starttls tls gnutls dictionary link connection parse-time nero url-handlers tmm mailalias anything-config anything woman man cl rmailkwd rmailout shr-color color rmailedit time-stamp misearch multi-isearch server qp jka-compr sh-script executable generic image-mode vc-filewise vc-rcs js json map imenu info latexenc sgml-mode octave texinfo smie cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs plain-tex bibtex vc-dispatcher vc-svn preview prv-emacs tex-bar tex-buf toolbar-x noutline outline font-latex latex easy-mmode edmacro kmacro tex-ispell tex-style tex dbus xml crm tex-mode compile url-util shr dom subr-x browse-url rmailmm message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231 desktop frameset solar cal-dst pot skeleton warnings rmailsum rmail sendmail rfc2047 rfc2045 ietf-drums mime-compose epa-mail mail-utils epa derived epg view holidays hol-loaddefs appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete comint ring format-spec advice bhl visual-fill-column switch-to-shell openwith hi-lock xt-mouse ffap thingatpt url-parse auth-source cl-seq eieio eieio-core cl-macs gnus-util time-date mm-util help-fns mail-prsvr password-cache url-vars scroll-in-place filladapt ansi-color time quail dired-x dired generic-x disp-table finder-inf package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib debian-el debian-el-loaddefs w3m-load vm-autoload vm-autoloads vm-version vm-vars vm-init preview-latex tex-site auto-loads mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 dbusbind inotify dynamic-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1005831 127544) (symbols 48 48431 72) (miscs 40 5775 7141) (strings 32 148769 27280) (string-bytes 1 4664318) (vectors 16 73767) (vector-slots 8 2033952 132016) (floats 8 1042 1148) (intervals 56 104799 217) (buffers 976 205)) From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 05 05:02:50 2017 Received: (at 27901-done) by debbugs.gnu.org; 5 Aug 2017 09:02:50 +0000 Received: from localhost ([127.0.0.1]:42463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dduyv-00056K-MN for submit@debbugs.gnu.org; Sat, 05 Aug 2017 05:02:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dduyt-000568-SK for 27901-done@debbugs.gnu.org; Sat, 05 Aug 2017 05:02:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dduyk-0000o0-If for 27901-done@debbugs.gnu.org; Sat, 05 Aug 2017 05:02:42 -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.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dduyk-0000ns-GA; Sat, 05 Aug 2017 05:02:38 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1397 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dduyj-00041V-Qt; Sat, 05 Aug 2017 05:02:38 -0400 Date: Sat, 05 Aug 2017 12:02:30 +0300 Message-Id: <838tiywfo9.fsf@gnu.org> From: Eli Zaretskii To: Francesco =?utf-8?Q?Potort=C3=AC?= In-reply-to: (message from Francesco =?utf-8?Q?Potort=C3=AC?= on Tue, 01 Aug 2017 11:01:18 +0200) Subject: Re: bug#27901: 25.1; x-win-suspend-error: Cannot suspend Emacs while running under X References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27901-done Cc: 27901-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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Tue, 01 Aug 2017 11:01:18 +0200 > From: Francesco Potortì > > I have Emacs running in a terminal under screen. From there, I open a > frame under X. So I have a text frame under screen and a graphical > frame under X. > > When the graphical frame is open, if I try to suspend Emacs from the > terminal, I get the error in the subject, whose meaning is obscure. > > When I close the X frame, Emacs can be suspended normally. > > If the error is only issued in the case I just described, then it should > be rephrased, with something like "cannot suspend Emacs when a graphical > frame exists". Done, thanks. > It would also be nice if the message explained how to close the > graphical frame from the text frame. I tried > (delete-frame (next-frame)) > from the text frame but the only result was that the text frame became > unusable (not responding to commands any more). I encourage people to propose simple ways of doing that. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 05 05:13:23 2017 Received: (at 27901-done) by debbugs.gnu.org; 5 Aug 2017 09:13:23 +0000 Received: from localhost ([127.0.0.1]:42470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddv98-0005Lg-Oy for submit@debbugs.gnu.org; Sat, 05 Aug 2017 05:13:23 -0400 Received: from mx-all.isti.cnr.it ([194.119.192.3]:44410 helo=blade3.isti.cnr.it) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddv96-0005LX-FQ for 27901-done@debbugs.gnu.org; Sat, 05 Aug 2017 05:13:21 -0400 Received: from tucano.isti.cnr.it ([146.48.81.102]) by mx-all.isti.cnr.it (PMDF V6.7-x04 #1609) with ESMTPSA id <01QHJT0HCUAKJHRI2K@mx-all.isti.cnr.it> for 27901-done@debbugs.gnu.org; Sat, 05 Aug 2017 11:11:54 +0200 (MEST) Received: from pot by tucano.isti.cnr.it with local (Exim 4.89) (envelope-from ) id 1ddv91-00057r-Of; Sat, 05 Aug 2017 11:13:15 +0200 Date: Sat, 05 Aug 2017 11:13:15 +0200 From: =?utf-8?Q?Francesco_Potort=C3=AC?= Subject: Re: bug#27901: 25.1; x-win-suspend-error: Cannot suspend Emacs while running under X In-reply-to: <838tiywfo9.fsf@gnu.org> To: Eli Zaretskii Message-id: Organization: CNR-ISTI, via Moruzzi 1, I-56124 Pisa, +39-0503153058 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8bit X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 References: <838tiywfo9.fsf@gnu.org> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 27901-done Cc: 27901-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.0 (/) >> It would also be nice if the message explained how to close the >> graphical frame from the text frame. I tried >> (delete-frame (next-frame)) >> from the text frame but the only result was that the text frame became >> unusable (not responding to commands any more). > >I encourage people to propose simple ways of doing that. Isn't the above behaviour a bug on its own? The only way out I found was to close Emacs from the graphical frame. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 05 05:39:08 2017 Received: (at 27901) by debbugs.gnu.org; 5 Aug 2017 09:39:08 +0000 Received: from localhost ([127.0.0.1]:42498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddvY4-0005ze-Cl for submit@debbugs.gnu.org; Sat, 05 Aug 2017 05:39:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33587) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddvY2-0005zB-Dl for 27901@debbugs.gnu.org; Sat, 05 Aug 2017 05:39:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddvXu-0000gy-Nd for 27901@debbugs.gnu.org; Sat, 05 Aug 2017 05:39:01 -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.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddvXu-0000gk-K5; Sat, 05 Aug 2017 05:38:58 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1428 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ddvXt-0002tT-RW; Sat, 05 Aug 2017 05:38:58 -0400 Date: Sat, 05 Aug 2017 12:38:50 +0300 Message-Id: <833796wdzp.fsf@gnu.org> From: Eli Zaretskii To: Francesco =?utf-8?Q?Potort=C3=AC?= In-reply-to: (message from Francesco =?utf-8?Q?Potort=C3=AC?= on Sat, 05 Aug 2017 11:13:15 +0200) Subject: Re: bug#27901: 25.1; x-win-suspend-error: Cannot suspend Emacs while running under X References: <838tiywfo9.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27901 Cc: 27901@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Sat, 05 Aug 2017 11:13:15 +0200 > From: Francesco Potortì > Cc: 27901-done@debbugs.gnu.org > > >> It would also be nice if the message explained how to close the > >> graphical frame from the text frame. I tried > >> (delete-frame (next-frame)) > >> from the text frame but the only result was that the text frame became > >> unusable (not responding to commands any more). > > > >I encourage people to propose simple ways of doing that. > > Isn't the above behaviour a bug on its own? The only way out I found > was to close Emacs from the graphical frame. It could be a bug, but if so, it's a separate bug. And frankly, I don't understand what is the bug here: doing what you did is not the usual way of deleting all frames but the current one. I'd try "C-x 5 1" from the TTY frame first. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 05 07:44:55 2017 Received: (at 27901) by debbugs.gnu.org; 5 Aug 2017 11:44:55 +0000 Received: from localhost ([127.0.0.1]:42570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddxVn-0002Oi-AF for submit@debbugs.gnu.org; Sat, 05 Aug 2017 07:44:55 -0400 Received: from mx-all.isti.cnr.it ([194.119.192.3]:21567 helo=blade3.isti.cnr.it) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddxVl-0002OY-Jb for 27901@debbugs.gnu.org; Sat, 05 Aug 2017 07:44:54 -0400 Received: from tucano.isti.cnr.it ([146.48.81.102]) by mx-all.isti.cnr.it (PMDF V6.7-x04 #1609) with ESMTPSA id <01QHJYBCL8MUJGGN41@mx-all.isti.cnr.it> for 27901@debbugs.gnu.org; Sat, 05 Aug 2017 13:43:26 +0200 (MEST) Received: from pot by tucano.isti.cnr.it with local (Exim 4.89) (envelope-from ) id 1ddxVg-0001iS-Fv; Sat, 05 Aug 2017 13:44:48 +0200 Date: Sat, 05 Aug 2017 13:44:48 +0200 From: =?utf-8?Q?Francesco_Potort=C3=AC?= Subject: Re: bug#27901: 25.1; x-win-suspend-error: Cannot suspend Emacs while running under X In-reply-to: <833796wdzp.fsf@gnu.org> To: Eli Zaretskii Message-id: Organization: CNR-ISTI, via Moruzzi 1, I-56124 Pisa, +39-0503153058 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 References: <838tiywfo9.fsf@gnu.org> <833796wdzp.fsf@gnu.org> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 27901 Cc: 27901@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.0 (/) >> Date: Sat, 05 Aug 2017 11:13:15 +0200 >> From: Francesco Potortì >> Cc: 27901-done@debbugs.gnu.org >> >> >> It would also be nice if the message explained how to close the >> >> graphical frame from the text frame. I tried >> >> (delete-frame (next-frame)) >> >> from the text frame but the only result was that the text frame became >> >> unusable (not responding to commands any more). >> > >> >I encourage people to propose simple ways of doing that. >> >> Isn't the above behaviour a bug on its own? The only way out I found >> was to close Emacs from the graphical frame. > >It could be a bug, but if so, it's a separate bug. Sure. I did not yet file one because I'm not sure it is a bug. >And frankly, I don't understand what is the bug here: doing what you >did is not the usual way of deleting all frames but the current one. I couldn't find a way. But, apart from being usual, I think it is not normal that a terminal frame becomes unusable as a consequence, especially because I would not expect the behaviour to be undefined. >I'd try "C-x 5 1" from the TTY frame first. Tried. But, as the docs say, that one deletes all other frames on the same terminal, while I have a text and a graphical terminal. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 05 08:01:18 2017 Received: (at 27901) by debbugs.gnu.org; 5 Aug 2017 12:01:18 +0000 Received: from localhost ([127.0.0.1]:42587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddxle-0002nK-02 for submit@debbugs.gnu.org; Sat, 05 Aug 2017 08:01:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddxlc-0002n8-9w for 27901@debbugs.gnu.org; Sat, 05 Aug 2017 08:01:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddxlT-0005Ca-8e for 27901@debbugs.gnu.org; Sat, 05 Aug 2017 08:01:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddxlT-0005CU-5W; Sat, 05 Aug 2017 08:01:07 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1677 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ddxlS-0003Yn-HL; Sat, 05 Aug 2017 08:01:07 -0400 Date: Sat, 05 Aug 2017 15:00:58 +0300 Message-Id: <83tw1musud.fsf@gnu.org> From: Eli Zaretskii To: Francesco =?utf-8?Q?Potort=C3=AC?= In-reply-to: (message from Francesco =?utf-8?Q?Potort=C3=AC?= on Sat, 05 Aug 2017 13:44:48 +0200) Subject: Re: bug#27901: 25.1; x-win-suspend-error: Cannot suspend Emacs while running under X References: <838tiywfo9.fsf@gnu.org> <833796wdzp.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27901 Cc: 27901@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Sat, 05 Aug 2017 13:44:48 +0200 > From: Francesco Potortì > Cc: 27901@debbugs.gnu.org > > >I'd try "C-x 5 1" from the TTY frame first. > > Tried. But, as the docs say, that one deletes all other frames on the > same terminal, while I have a text and a graphical terminal. Then go to the GUI frame and type "C-x 5 0". From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 05 13:39:42 2017 Received: (at 27901) by debbugs.gnu.org; 5 Aug 2017 17:39:42 +0000 Received: from localhost ([127.0.0.1]:43634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1de338-0002lw-C4 for submit@debbugs.gnu.org; Sat, 05 Aug 2017 13:39:42 -0400 Received: from mx-all.isti.cnr.it ([194.119.192.3]:19216 helo=blade3.isti.cnr.it) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1de335-0002ll-K4 for 27901@debbugs.gnu.org; Sat, 05 Aug 2017 13:39:40 -0400 Received: from tucano.isti.cnr.it ([146.48.81.102]) by mx-all.isti.cnr.it (PMDF V6.7-x04 #1609) with ESMTPSA id <01QHKAP7RMG6JGGN44@mx-all.isti.cnr.it> for 27901@debbugs.gnu.org; Sat, 05 Aug 2017 19:38:13 +0200 (MEST) Received: from pot by tucano.isti.cnr.it with local (Exim 4.89) (envelope-from ) id 1de332-0000UO-2g; Sat, 05 Aug 2017 19:39:36 +0200 Date: Sat, 05 Aug 2017 19:39:35 +0200 From: =?utf-8?Q?Francesco_Potort=C3=AC?= Subject: Re: bug#27901: 25.1; x-win-suspend-error: Cannot suspend Emacs while running under X In-reply-to: <83tw1musud.fsf@gnu.org> To: Eli Zaretskii Message-id: Organization: CNR-ISTI, via Moruzzi 1, I-56124 Pisa, +39-0503153058 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 References: <838tiywfo9.fsf@gnu.org> <833796wdzp.fsf@gnu.org> <83tw1musud.fsf@gnu.org> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 27901 Cc: 27901@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.0 (/) >> Date: Sat, 05 Aug 2017 13:44:48 +0200 >> From: Francesco Potortì >> Cc: 27901@debbugs.gnu.org >> >> >I'd try "C-x 5 1" from the TTY frame first. >> >> Tried. But, as the docs say, that one deletes all other frames on the >> same terminal, while I have a text and a graphical terminal. > >Then go to the GUI frame and type "C-x 5 0". The problem is that I have not access to the GUI (maybe this was not clear from the beginning). The terminal frame is running inside a terminal under Screen. When I access it remotely, I have no access to the GUI. I cannot suspend Emacs because there is a graphical frame alive, and I cannot close it because I do not know how, and the only way I can think of makes the terminal frame unusable (which I suspect is a bug). From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 05 14:17:54 2017 Received: (at 27901) by debbugs.gnu.org; 5 Aug 2017 18:17:54 +0000 Received: from localhost ([127.0.0.1]:43662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1de3e5-0005TD-OB for submit@debbugs.gnu.org; Sat, 05 Aug 2017 14:17:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1de3e3-0005T1-Uy for 27901@debbugs.gnu.org; Sat, 05 Aug 2017 14:17:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1de3du-0001qx-Cz for 27901@debbugs.gnu.org; Sat, 05 Aug 2017 14:17:46 -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.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1de3du-0001ql-9f; Sat, 05 Aug 2017 14:17:42 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2707 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1de3dt-0006Yg-5T; Sat, 05 Aug 2017 14:17:42 -0400 Date: Sat, 05 Aug 2017 21:17:29 +0300 Message-Id: <831sopvpza.fsf@gnu.org> From: Eli Zaretskii To: Francesco =?utf-8?Q?Potort=C3=AC?= In-reply-to: (message from Francesco =?utf-8?Q?Potort=C3=AC?= on Sat, 05 Aug 2017 19:39:35 +0200) Subject: Re: bug#27901: 25.1; x-win-suspend-error: Cannot suspend Emacs while running under X References: <838tiywfo9.fsf@gnu.org> <833796wdzp.fsf@gnu.org> <83tw1musud.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27901 Cc: 27901@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Sat, 05 Aug 2017 19:39:35 +0200 > From: Francesco Potortì > Cc: 27901@debbugs.gnu.org > > >Then go to the GUI frame and type "C-x 5 0". > > The problem is that I have not access to the GUI (maybe this was not > clear from the beginning). It wasn't, not to me. > The terminal frame is running inside a terminal under Screen. When I > access it remotely, I have no access to the GUI. I cannot suspend Emacs > because there is a graphical frame alive, and I cannot close it because > I do not know how, and the only way I can think of makes the terminal > frame unusable (which I suspect is a bug). What does frame-list return? And anyway, why do you insist on suspending Emacs? Why not start a shell instead? From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 05 14:27:04 2017 Received: (at 27901) by debbugs.gnu.org; 5 Aug 2017 18:27:04 +0000 Received: from localhost ([127.0.0.1]:43666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1de3mx-0005g7-NQ for submit@debbugs.gnu.org; Sat, 05 Aug 2017 14:27:03 -0400 Received: from mx-all.isti.cnr.it ([194.119.192.3]:40281 helo=blade3.isti.cnr.it) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1de3mw-0005fy-Ju for 27901@debbugs.gnu.org; Sat, 05 Aug 2017 14:27:03 -0400 Received: from tucano.isti.cnr.it ([146.48.81.102]) by mx-all.isti.cnr.it (PMDF V6.7-x04 #1609) with ESMTPSA id <01QHKCCZNC4OJFA9IW@mx-all.isti.cnr.it> for 27901@debbugs.gnu.org; Sat, 05 Aug 2017 20:25:38 +0200 (MEST) Received: from pot by tucano.isti.cnr.it with local (Exim 4.89) (envelope-from ) id 1de3mu-0004rK-Ml; Sat, 05 Aug 2017 20:27:00 +0200 Date: Sat, 05 Aug 2017 20:27:00 +0200 From: =?utf-8?Q?Francesco_Potort=C3=AC?= Subject: Re: bug#27901: 25.1; x-win-suspend-error: Cannot suspend Emacs while running under X In-reply-to: <831sopvpza.fsf@gnu.org> To: Eli Zaretskii Message-id: Organization: CNR-ISTI, via Moruzzi 1, I-56124 Pisa, +39-0503153058 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8bit X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 References: <838tiywfo9.fsf@gnu.org> <833796wdzp.fsf@gnu.org> <83tw1musud.fsf@gnu.org> <831sopvpza.fsf@gnu.org> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 27901 Cc: 27901@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.0 (/) >> The terminal frame is running inside a terminal under Screen. When I >> access it remotely, I have no access to the GUI. I cannot suspend Emacs >> because there is a graphical frame alive, and I cannot close it because >> I do not know how, and the only way I can think of makes the terminal >> frame unusable (which I suspect is a bug). > >What does frame-list return? (frame-list) (# #) (next-frame) # (delete-frame (next-frame)) ^^ shows the bug (I won't do it now because I am working remotely) >And anyway, why do you insist on suspending Emacs? Why not start a >shell instead? A shell inside Emacs does not have the environment I am looking for, so the only way I am left with is to start a new terminal inside Screen. But this is a workaround to a bug, not a solution. So it appears to me that I should indeed file a new bug report, right? From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 05 14:44:07 2017 Received: (at 27901) by debbugs.gnu.org; 5 Aug 2017 18:44:07 +0000 Received: from localhost ([127.0.0.1]:43679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1de43T-00064j-CI for submit@debbugs.gnu.org; Sat, 05 Aug 2017 14:44:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39857) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1de43S-00064A-0H for 27901@debbugs.gnu.org; Sat, 05 Aug 2017 14:44:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1de43I-0001EE-AS for 27901@debbugs.gnu.org; Sat, 05 Aug 2017 14:44:00 -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.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54281) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1de43I-0001EA-78; Sat, 05 Aug 2017 14:43:56 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2756 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1de43F-0006cj-Hr; Sat, 05 Aug 2017 14:43:56 -0400 Date: Sat, 05 Aug 2017 21:43:31 +0300 Message-Id: <83y3qxua7g.fsf@gnu.org> From: Eli Zaretskii To: Francesco =?utf-8?Q?Potort=C3=AC?= In-reply-to: (message from Francesco =?utf-8?Q?Potort=C3=AC?= on Sat, 05 Aug 2017 20:27:00 +0200) Subject: Re: bug#27901: 25.1; x-win-suspend-error: Cannot suspend Emacs while running under X References: <838tiywfo9.fsf@gnu.org> <833796wdzp.fsf@gnu.org> <83tw1musud.fsf@gnu.org> <831sopvpza.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27901 Cc: 27901@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Sat, 05 Aug 2017 20:27:00 +0200 > From: Francesco Potortì > Cc: 27901@debbugs.gnu.org > > >> The terminal frame is running inside a terminal under Screen. When I > >> access it remotely, I have no access to the GUI. I cannot suspend Emacs > >> because there is a graphical frame alive, and I cannot close it because > >> I do not know how, and the only way I can think of makes the terminal > >> frame unusable (which I suspect is a bug). > > > >What does frame-list return? > > (frame-list) > (# #) > > (next-frame) > # > > (delete-frame (next-frame)) > ^^ > shows the bug (I won't do it now because I am working remotely) The F1 frame is a TTY frame, so it sounds like you are trying to delete the frame through which you are communicating with Emacs? And do you see the same problem when both frames are on the same machine? > A shell inside Emacs does not have the environment I am looking for Why not? > But this is a workaround to a bug, not a solution. So it appears to me > that I should indeed file a new bug report, right? If so, please include a reproducible recipe. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 05 15:02:00 2017 Received: (at 27901) by debbugs.gnu.org; 5 Aug 2017 19:02:00 +0000 Received: from localhost ([127.0.0.1]:43687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1de4Kl-0006Vr-NS for submit@debbugs.gnu.org; Sat, 05 Aug 2017 15:01:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1de4Kj-0006Ve-Em for 27901@debbugs.gnu.org; Sat, 05 Aug 2017 15:01:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1de4Ka-0001ix-73 for 27901@debbugs.gnu.org; Sat, 05 Aug 2017 15:01:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54551) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1de4Ka-0001io-3G; Sat, 05 Aug 2017 15:01:48 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2774 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1de4KY-0005cP-Lt; Sat, 05 Aug 2017 15:01:47 -0400 Date: Sat, 05 Aug 2017 22:01:27 +0300 Message-Id: <83wp6hu9dk.fsf@gnu.org> From: Eli Zaretskii To: Potorti@isti.cnr.it In-reply-to: <83y3qxua7g.fsf@gnu.org> (message from Eli Zaretskii on Sat, 05 Aug 2017 21:43:31 +0300) Subject: Re: bug#27901: 25.1; x-win-suspend-error: Cannot suspend Emacs while running under X References: <838tiywfo9.fsf@gnu.org> <833796wdzp.fsf@gnu.org> <83tw1musud.fsf@gnu.org> <831sopvpza.fsf@gnu.org> <83y3qxua7g.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27901 Cc: 27901@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Sat, 05 Aug 2017 21:43:31 +0300 > From: Eli Zaretskii > Cc: 27901@debbugs.gnu.org > > > (frame-list) > > (# #) > > > > (next-frame) > > # > > > > (delete-frame (next-frame)) > > ^^ > > shows the bug (I won't do it now because I am working remotely) > > The F1 frame is a TTY frame, so it sounds like you are trying to > delete the frame through which you are communicating with Emacs? Yes, that's what happens here. From the doc string of next-frame: (next-frame &optional FRAME MINIFRAME) Return the next frame in the frame list after FRAME. It considers only frames on the same terminal as FRAME. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ So you shouldn't use next-frame for this, but instead find the frame in the list that is other than the selected frame. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 05 15:03:42 2017 Received: (at 27901) by debbugs.gnu.org; 5 Aug 2017 19:03:42 +0000 Received: from localhost ([127.0.0.1]:43691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1de4MQ-0006YS-7L for submit@debbugs.gnu.org; Sat, 05 Aug 2017 15:03:42 -0400 Received: from mx-all.isti.cnr.it ([194.119.192.3]:12480 helo=blade3.isti.cnr.it) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1de4MN-0006YG-Sq for 27901@debbugs.gnu.org; Sat, 05 Aug 2017 15:03:40 -0400 Received: from tucano.isti.cnr.it ([146.48.81.102]) by mx-all.isti.cnr.it (PMDF V6.7-x04 #1609) with ESMTPSA id <01QHKDMDHTEMJHRY3Q@mx-all.isti.cnr.it> for 27901@debbugs.gnu.org; Sat, 05 Aug 2017 21:02:13 +0200 (MEST) Received: from pot by tucano.isti.cnr.it with local (Exim 4.89) (envelope-from ) id 1de4MK-0008Lc-Gq; Sat, 05 Aug 2017 21:03:36 +0200 Date: Sat, 05 Aug 2017 21:03:36 +0200 From: =?utf-8?Q?Francesco_Potort=C3=AC?= Subject: Re: bug#27901: 25.1; x-win-suspend-error: Cannot suspend Emacs while running under X In-reply-to: <83y3qxua7g.fsf@gnu.org> To: Eli Zaretskii Message-id: Organization: CNR-ISTI, via Moruzzi 1, I-56124 Pisa, +39-0503153058 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 References: <838tiywfo9.fsf@gnu.org> <833796wdzp.fsf@gnu.org> <83tw1musud.fsf@gnu.org> <831sopvpza.fsf@gnu.org> <83y3qxua7g.fsf@gnu.org> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 27901 Cc: 27901@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.0 (/) >> Date: Sat, 05 Aug 2017 20:27:00 +0200 >> From: Francesco Potortì >> Cc: 27901@debbugs.gnu.org >> >> >> The terminal frame is running inside a terminal under Screen. When I >> >> access it remotely, I have no access to the GUI. I cannot suspend Emacs >> >> because there is a graphical frame alive, and I cannot close it because >> >> I do not know how, and the only way I can think of makes the terminal >> >> frame unusable (which I suspect is a bug). >> > >> >What does frame-list return? >> >> (frame-list) >> (# #) >> >> (next-frame) >> # >> >> (delete-frame (next-frame)) >> ^^ >> shows the bug (I won't do it now because I am working remotely) > >The F1 frame is a TTY frame, so it sounds like you are trying to >delete the frame through which you are communicating with Emacs? Wow, that's it, thanks! I had not realised that (next-frame) is the wrong way to choose a frame, because it looks for frames in the same terminal! I was looking for a function that gives me the same frame that C-x 5 o switches to. >And do you see the same problem when both frames are on the same >machine? Yes, I only tried those things when on the same machine, but now the reason looks obvious to me: I was just deleting the frame I was using, because (next-frame) returns that, so there is no bug here. >> A shell inside Emacs does not have the environment I am looking for > >Why not? Because I want a real terminal, not a shell buffer, and I do not want to use a terminal emulator inside Emacs. But this is out of scope. Ok, so now the problem reduces to: - find a simple recipe for deleting all GUI frames from a terminal frame - add this recipe to the error message mentioned at the start of this bug report Thanks so far From unknown Fri Aug 15 14:47:09 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, 03 Sep 2017 11:24:03 +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