From unknown Sat Jun 21 05:00:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1061: pop-up-frames does not work on a tty Reply-To: Dan Nicolaescu , 1061@debbugs.gnu.org Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 01 Oct 2008 08:50:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12228504398467 (code B ref -1); Wed, 01 Oct 2008 08:50:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.3 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 1 Oct 2008 08:40:39 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m918eXKr008461 for ; Wed, 1 Oct 2008 01:40:34 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KkxG4-0007Rp-RP for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2008 04:40:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KkxG3-0007Qs-Fr for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2008 04:40:32 -0400 Received: from [199.232.76.173] (port=46057 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KkxG3-0007Ql-7x for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2008 04:40:31 -0400 Received: from barrelv2.ics.uci.edu ([128.195.1.114]:49812) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1KkxG2-00007E-PC for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2008 04:40:31 -0400 Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m918eNgC027994 for ; Wed, 1 Oct 2008 01:40:24 -0700 (PDT) Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id m918eNXF002502; Wed, 1 Oct 2008 01:40:23 -0700 (PDT) Date: Wed, 1 Oct 2008 01:40:23 -0700 (PDT) Message-Id: <200810010840.m918eNXF002502@mothra.ics.uci.edu> From: Dan Nicolaescu To: bug-gnu-emacs@gnu.org Lines: 11 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: m918eNgC027994 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) With the current CVS HEAD: emacs -Q -nw M-: (setq pop-up-frames t) RET C-h f ding RET The *Help* buffer does not appear at this point, a new frame is created, but the current frame does not show the help buffer. with emacs-22.2 the *Help* buffer is displayed. From unknown Sat Jun 21 05:00:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1061: pop-up-frames does not work on a tty Reply-To: martin rudalics , 1061@debbugs.gnu.org Resent-From: martin rudalics Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 01 Oct 2008 13:15:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1061-submit@emacsbugs.donarmstrong.com id=B1061.122286641711069 (code B ref 1061); Wed, 01 Oct 2008 13:15:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.1 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER,MIXEDBDN,MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1061) by emacsbugs.donarmstrong.com; 1 Oct 2008 13:06:57 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m91D6qeB011053 for <1061@emacsbugs.donarmstrong.com>; Wed, 1 Oct 2008 06:06:54 -0700 Received: (qmail invoked by alias); 01 Oct 2008 13:06:47 -0000 Received: from 62-47-47-157.adsl.highway.telekom.at (EHLO [62.47.47.157]) [62.47.47.157] by mail.gmx.net (mp042) with SMTP; 01 Oct 2008 15:06:47 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX183CPFmMig3THpT6SJARBJvUjAJ0nkjYD4Zp6uHr1 yV3jUXjQRaSAw3 Message-ID: <48E37598.2030209@gmx.at> Date: Wed, 01 Oct 2008 15:05:28 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Dan Nicolaescu CC: 1061@debbugs.gnu.org References: <200810010840.m918eNXF002502@mothra.ics.uci.edu> In-Reply-To: <200810010840.m918eNXF002502@mothra.ics.uci.edu> Content-Type: multipart/mixed; boundary="------------040308030104020806050900" X-Y-GMX-Trusted: 0 X-FuHaFi: 0.67,0.7 This is a multi-part message in MIME format. --------------040308030104020806050900 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > With the current CVS HEAD: > > emacs -Q -nw > M-: (setq pop-up-frames t) RET > C-h f ding RET > > The *Help* buffer does not appear at this point, a new frame is created, > but the current frame does not show the help buffer. I'm aware of this problem. Does the attached patch fix it? > with emacs-22.2 the *Help* buffer is displayed. Not here on Windows. And I wonder how this could work on your system. FWIW, the underlying logic did not change. Does `pop-to-buffer' for some arbitrary, non-visible buffer work with -nw? What happens with `display-buffer'? martin --------------040308030104020806050900 Content-Type: text/plain; name="1061.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="1061.diff" *** window.el.~1.153.~ 2008-09-13 10:14:15.250000000 +0200 --- window.el 2008-10-01 14:51:12.437500000 +0200 *************** *** 987,994 **** buffer (if (listp pars) pars)))))) ((or pop-up-frames (not frame-to-use)) ;; We want or need a new frame. ! (window--display-buffer-2 ! buffer (frame-selected-window (funcall pop-up-frame-function)))) ((and pop-up-windows ;; Make a new window. (or (not (frame-parameter frame-to-use 'unsplittable)) --- 987,997 ---- buffer (if (listp pars) pars)))))) ((or pop-up-frames (not frame-to-use)) ;; We want or need a new frame. ! (setq frame-to-use (funcall pop-up-frame-function)) ! (prog1 ! (window--display-buffer-2 ! buffer (frame-selected-window frame-to-use)) ! (select-frame-set-input-focus frame-to-use))) ((and pop-up-windows ;; Make a new window. (or (not (frame-parameter frame-to-use 'unsplittable)) --------------040308030104020806050900-- From unknown Sat Jun 21 05:00:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1061: pop-up-frames does not work on a tty Reply-To: martin rudalics , 1061@debbugs.gnu.org Resent-From: martin rudalics Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 01 Oct 2008 13:35:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1061-submit@emacsbugs.donarmstrong.com id=B1061.122286764616114 (code B ref 1061); Wed, 01 Oct 2008 13:35:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.2 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, MIXEDBDN,MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1061) by emacsbugs.donarmstrong.com; 1 Oct 2008 13:27:26 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m91DRMf1016108 for <1061@emacsbugs.donarmstrong.com>; Wed, 1 Oct 2008 06:27:24 -0700 Received: (qmail invoked by alias); 01 Oct 2008 13:27:17 -0000 Received: from 62-47-47-157.adsl.highway.telekom.at (EHLO [62.47.47.157]) [62.47.47.157] by mail.gmx.net (mp027) with SMTP; 01 Oct 2008 15:27:17 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19XEMZT2NVXqCylhmN8zkEYT22fBzyYGAp2ZjbQdq Cc95oKJeC6gLmT Message-ID: <48E37A78.50804@gmx.at> Date: Wed, 01 Oct 2008 15:26:16 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Dan Nicolaescu CC: 1061@debbugs.gnu.org References: <200810010840.m918eNXF002502@mothra.ics.uci.edu> In-Reply-To: <200810010840.m918eNXF002502@mothra.ics.uci.edu> Content-Type: multipart/mixed; boundary="------------090909020501070302070407" X-Y-GMX-Trusted: 0 X-FuHaFi: 0.9,0.67 This is a multi-part message in MIME format. --------------090909020501070302070407 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit The previous patch was probably too drastic. Let's try the attached one. martin --------------090909020501070302070407 Content-Type: text/plain; name="1061.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="1061.diff" *** help.el.~1.342.~ 2008-08-14 07:46:20.718750000 +0200 --- help.el 2008-10-01 15:19:23.250000000 +0200 *************** *** 1056,1062 **** "Type \"q\" to quit") window)) ((= number-of-windows 1) ;; The help window is alone on a frame and not the selected ! ;; window, could be the `pop-up-frames' t case. (help-window-display-message (cond (keep-frame "Type \"q\" to delete this window") --- 1056,1063 ---- "Type \"q\" to quit") window)) ((= number-of-windows 1) ;; The help window is alone on a frame and not the selected ! ;; window, probably the `pop-up-frames' t case. ! (select-frame-set-input-focus (window-frame window)) (help-window-display-message (cond (keep-frame "Type \"q\" to delete this window") --------------090909020501070302070407-- From unknown Sat Jun 21 05:00:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1061: pop-up-frames does not work on a tty Reply-To: Dan Nicolaescu , 1061@debbugs.gnu.org Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 01 Oct 2008 15:30:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1061-submit@emacsbugs.donarmstrong.com id=B1061.122287445213092 (code B ref 1061); Wed, 01 Oct 2008 15:30:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.3 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1061) by emacsbugs.donarmstrong.com; 1 Oct 2008 15:20:52 +0000 Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m91FKo18013085 for <1061@emacsbugs.donarmstrong.com>; Wed, 1 Oct 2008 08:20:51 -0700 Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m91FKem9023130; Wed, 1 Oct 2008 08:20:40 -0700 (PDT) Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id m91FKd1Q003547; Wed, 1 Oct 2008 08:20:39 -0700 (PDT) Date: Wed, 1 Oct 2008 08:20:39 -0700 (PDT) Message-Id: <200810011520.m91FKd1Q003547@mothra.ics.uci.edu> From: Dan Nicolaescu To: martin rudalics Cc: 1061@debbugs.gnu.org In-Reply-To: <48E37A78.50804@gmx.at> (martin rudalics's message of "Wed, 01 Oct 2008 15:26:16 +0200") References: <200810010840.m918eNXF002502@mothra.ics.uci.edu> <48E37A78.50804@gmx.at> Lines: 33 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: m91FKem9023130 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu martin rudalics writes: > The previous patch was probably too drastic. Let's try > the attached one. Thanks. This might fix the *Help* case, but other functions are not working either: C-x C-b M-x grep > martin > > *** help.el.~1.342.~ 2008-08-14 07:46:20.718750000 +0200 > --- help.el 2008-10-01 15:19:23.250000000 +0200 > *************** > *** 1056,1062 **** > "Type \"q\" to quit") window)) > ((= number-of-windows 1) > ;; The help window is alone on a frame and not the selected > ! ;; window, could be the `pop-up-frames' t case. > (help-window-display-message > (cond > (keep-frame "Type \"q\" to delete this window") > --- 1056,1063 ---- > "Type \"q\" to quit") window)) > ((= number-of-windows 1) > ;; The help window is alone on a frame and not the selected > ! ;; window, probably the `pop-up-frames' t case. > ! (select-frame-set-input-focus (window-frame window)) > (help-window-display-message > (cond > (keep-frame "Type \"q\" to delete this window") From unknown Sat Jun 21 05:00:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1061: pop-up-frames does not work on a tty Reply-To: Dan Nicolaescu , 1061@debbugs.gnu.org Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 01 Oct 2008 15:30:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1061-submit@emacsbugs.donarmstrong.com id=B1061.122287458713114 (code B ref 1061); Wed, 01 Oct 2008 15:30:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.3 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1061) by emacsbugs.donarmstrong.com; 1 Oct 2008 15:23:07 +0000 Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m91FN1sr013101 for <1061@emacsbugs.donarmstrong.com>; Wed, 1 Oct 2008 08:23:02 -0700 Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m91FKRm4014452; Wed, 1 Oct 2008 08:20:27 -0700 (PDT) Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id m91FKQ8v003546; Wed, 1 Oct 2008 08:20:26 -0700 (PDT) Date: Wed, 1 Oct 2008 08:20:26 -0700 (PDT) Message-Id: <200810011520.m91FKQ8v003546@mothra.ics.uci.edu> From: Dan Nicolaescu To: martin rudalics Cc: 1061@debbugs.gnu.org References: <200810010840.m918eNXF002502@mothra.ics.uci.edu> <48E37A78.50804@gmx.at> In-Reply-To: <48E37A78.50804@gmx.at> (martin rudalics's message of "Wed, 01 Oct 2008 15:26:16 +0200") Lines: 33 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: m91FKRm4014452 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu martin rudalics writes: > The previous patch was probably too drastic. Let's try > the attached one. Thanks. This might fix the *Help* case, but other function are not working either: C-x C-b M-x grep > martin > > *** help.el.~1.342.~ 2008-08-14 07:46:20.718750000 +0200 > --- help.el 2008-10-01 15:19:23.250000000 +0200 > *************** > *** 1056,1062 **** > "Type \"q\" to quit") window)) > ((= number-of-windows 1) > ;; The help window is alone on a frame and not the selected > ! ;; window, could be the `pop-up-frames' t case. > (help-window-display-message > (cond > (keep-frame "Type \"q\" to delete this window") > --- 1056,1063 ---- > "Type \"q\" to quit") window)) > ((= number-of-windows 1) > ;; The help window is alone on a frame and not the selected > ! ;; window, probably the `pop-up-frames' t case. > ! (select-frame-set-input-focus (window-frame window)) > (help-window-display-message > (cond > (keep-frame "Type \"q\" to delete this window") From unknown Sat Jun 21 05:00:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1061: pop-up-frames does not work on a tty Reply-To: Dan Nicolaescu , 1061@debbugs.gnu.org Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 01 Oct 2008 16:05:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1061-submit@emacsbugs.donarmstrong.com id=B1061.122287667721445 (code B ref 1061); Wed, 01 Oct 2008 16:05:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.3 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1061) by emacsbugs.donarmstrong.com; 1 Oct 2008 15:57:57 +0000 Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m91Fvsh7021439 for <1061@emacsbugs.donarmstrong.com>; Wed, 1 Oct 2008 08:57:55 -0700 Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m91FvTpr009581; Wed, 1 Oct 2008 08:57:34 -0700 (PDT) Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id m91FvSeF003693; Wed, 1 Oct 2008 08:57:28 -0700 (PDT) Date: Wed, 1 Oct 2008 08:57:28 -0700 (PDT) Message-Id: <200810011557.m91FvSeF003693@mothra.ics.uci.edu> From: Dan Nicolaescu To: martin rudalics Cc: 1061@debbugs.gnu.org References: <200810010840.m918eNXF002502@mothra.ics.uci.edu> <48E37598.2030209@gmx.at> In-Reply-To: <48E37598.2030209@gmx.at> (martin rudalics's message of "Wed, 01 Oct 2008 15:05:28 +0200") Lines: 11 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: m91FvTpr009581 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu martin rudalics writes: > > with emacs-22.2 the *Help* buffer is displayed. > > Not here on Windows. And I wonder how this could work on your system. > FWIW, the underlying logic did not change. Hmm, it does not work for me either, I probably had a typo in the variable name when evaluating the `setq' on emacs-22.2... Sorry for the false alarm. From unknown Sat Jun 21 05:00:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1061: pop-up-frames does not work on a tty Reply-To: martin rudalics , 1061@debbugs.gnu.org Resent-From: martin rudalics Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 01 Oct 2008 18:30:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1061-submit@emacsbugs.donarmstrong.com id=B1061.122288526426117 (code B ref 1061); Wed, 01 Oct 2008 18:30:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.8 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1061) by emacsbugs.donarmstrong.com; 1 Oct 2008 18:21:04 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m91IKuNJ026108 for <1061@emacsbugs.donarmstrong.com>; Wed, 1 Oct 2008 11:20:58 -0700 Received: (qmail invoked by alias); 01 Oct 2008 18:20:49 -0000 Received: from 88-117-46-88.adsl.highway.telekom.at (EHLO [88.117.46.88]) [88.117.46.88] by mail.gmx.net (mp049) with SMTP; 01 Oct 2008 20:20:49 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+qboBBFEqqcq1x9gr+FmEz46OKlpAEv9XU9lYS0x LpU15efnrivBZk Message-ID: <48E3BF6A.9070602@gmx.at> Date: Wed, 01 Oct 2008 20:20:26 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Dan Nicolaescu CC: 1061@debbugs.gnu.org References: <200810010840.m918eNXF002502@mothra.ics.uci.edu> <48E37A78.50804@gmx.at> <200810011520.m91FKd1Q003547@mothra.ics.uci.edu> In-Reply-To: <200810011520.m91FKd1Q003547@mothra.ics.uci.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.74 > This might fix the *Help* case, but other functions are not > working either: > C-x C-b `list-buffers' should use `pop-to-buffer' in the first place. > M-x grep Sorry, I don't understand how this is supposed to work. You can observe similar behavior with emacs -Q and `pop-up-frames' non-nil: Type C-h C-h b and watch Emacs iconify the *Help* buffer. Often `display-buffer' seem to DTRT because most window managers automatically raise a new frame behind Emacs' back. Hence working on a tty seems one of the rare cases where the fact that `display-buffer' does not raise a frame really bites. martin From unknown Sat Jun 21 05:00:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1061: pop-up-frames does not work on a tty Reply-To: Dan Nicolaescu , 1061@debbugs.gnu.org Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 01 Oct 2008 19:05:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1061-submit@emacsbugs.donarmstrong.com id=B1061.12228874151969 (code B ref 1061); Wed, 01 Oct 2008 19:05:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.4 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1061) by emacsbugs.donarmstrong.com; 1 Oct 2008 18:56:55 +0000 Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m91IuqbA001962 for <1061@emacsbugs.donarmstrong.com>; Wed, 1 Oct 2008 11:56:53 -0700 Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m91IuQki008698; Wed, 1 Oct 2008 11:56:31 -0700 (PDT) Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id m91IuPAT012990; Wed, 1 Oct 2008 11:56:25 -0700 (PDT) Date: Wed, 1 Oct 2008 11:56:25 -0700 (PDT) Message-Id: <200810011856.m91IuPAT012990@mothra.ics.uci.edu> From: Dan Nicolaescu To: martin rudalics Cc: 1061@debbugs.gnu.org References: <200810010840.m918eNXF002502@mothra.ics.uci.edu> <48E37A78.50804@gmx.at> <200810011520.m91FKd1Q003547@mothra.ics.uci.edu> <48E3BF6A.9070602@gmx.at> In-Reply-To: <48E3BF6A.9070602@gmx.at> (martin rudalics's message of "Wed, 01 Oct 2008 20:20:26 +0200") Lines: 13 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: m91IuQki008698 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu martin rudalics writes: > > M-x grep > > Sorry, I don't understand how this is supposed to work. Show the *grep* buffer? I run into these when I was asked to test the --daemon patch with pop-to-frames, I personally don't know much about pop-to-frames. I thought these things worked in emacs-22, but that turned out not to be the case. Maybe nobody cares about this stuff anyway, in which case closing the bug seems appropriate. From unknown Sat Jun 21 05:00:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1061: pop-up-frames does not work on a tty Reply-To: martin rudalics , 1061@debbugs.gnu.org Resent-From: martin rudalics Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 02 Oct 2008 09:40:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1061-submit@emacsbugs.donarmstrong.com id=B1061.122294004325462 (code B ref 1061); Thu, 02 Oct 2008 09:40:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.7 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1061) by emacsbugs.donarmstrong.com; 2 Oct 2008 09:34:03 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m929XwxV025452 for <1061@emacsbugs.donarmstrong.com>; Thu, 2 Oct 2008 02:34:00 -0700 Received: (qmail invoked by alias); 02 Oct 2008 09:33:52 -0000 Received: from 62-47-41-60.adsl.highway.telekom.at (EHLO [62.47.41.60]) [62.47.41.60] by mail.gmx.net (mp060) with SMTP; 02 Oct 2008 11:33:52 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/rMQp+X9vrDY/Bfl59LPoxyTWKSCeKZbLk1E924d MsR5W4TowQLK8+ Message-ID: <48E49567.2070802@gmx.at> Date: Thu, 02 Oct 2008 11:33:27 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Dan Nicolaescu CC: 1061@debbugs.gnu.org References: <200810010840.m918eNXF002502@mothra.ics.uci.edu> <48E37A78.50804@gmx.at> <200810011520.m91FKd1Q003547@mothra.ics.uci.edu> <48E3BF6A.9070602@gmx.at> <200810011856.m91IuPAT012990@mothra.ics.uci.edu> In-Reply-To: <200810011856.m91IuPAT012990@mothra.ics.uci.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 > > > M-x grep > > > > Sorry, I don't understand how this is supposed to work. > > Show the *grep* buffer? What I meant is that `grep' uses `compilation-start' which uses `display-buffer' and I don't understand how this is supposed to show the buffer on ttys. Juri Linkov noted http://lists.gnu.org/archive/html/emacs-devel/2007-11/msg01832.html but I'm not sure whether the subsequent fix has done any good or harm. > I run into these when I was asked to test the --daemon patch with > pop-to-frames, I personally don't know much about pop-to-frames. pop-"up"-frames I presume. > I > thought these things worked in emacs-22, but that turned out not to be > the case. Maybe nobody cares about this stuff anyway, in which case > closing the bug seems appropriate. `display-buffer' with `pop-up-frames' was and is broken on ttys: Take `display-warning' or `display-buffer-other-frame'. `select-frame' based commands like `info-lookup' are broken on graphical _and_ text-only terminals. martin From unknown Sat Jun 21 05:00:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1061: pop-up-frames does not work on a tty Reply-To: Stefan Monnier , 1061@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 02 Oct 2008 12:50:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1061-submit@emacsbugs.donarmstrong.com id=B1061.12229515149468 (code B ref 1061); Thu, 02 Oct 2008 12:50:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.3 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1061) by emacsbugs.donarmstrong.com; 2 Oct 2008 12:45:14 +0000 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m92Cj7JK008801 for <1061@emacsbugs.donarmstrong.com>; Thu, 2 Oct 2008 05:45:08 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEACpf5EjO+KVj/2dsb2JhbACBZrsRgWqBBg X-IronPort-AV: E=Sophos;i="4.33,351,1220241600"; d="scan'208";a="27858251" Received: from 206-248-165-99.dsl.teksavvy.com (HELO pastel.home) ([206.248.165.99]) by ironport2-out.teksavvy.com with ESMTP; 02 Oct 2008 08:45:02 -0400 Received: by pastel.home (Postfix, from userid 20848) id 0D2F980D0; Thu, 2 Oct 2008 08:45:02 -0400 (EDT) From: Stefan Monnier To: martin rudalics Cc: 1061@debbugs.gnu.org, Dan Nicolaescu Message-ID: References: <200810010840.m918eNXF002502@mothra.ics.uci.edu> <48E37A78.50804@gmx.at> <200810011520.m91FKd1Q003547@mothra.ics.uci.edu> <48E3BF6A.9070602@gmx.at> <200810011856.m91IuPAT012990@mothra.ics.uci.edu> <48E49567.2070802@gmx.at> Date: Thu, 02 Oct 2008 08:45:02 -0400 In-Reply-To: <48E49567.2070802@gmx.at> (martin rudalics's message of "Thu, 02 Oct 2008 11:33:27 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > `display-buffer' with `pop-up-frames' was and is broken on ttys: Take > `display-warning' or `display-buffer-other-frame'. Yes, the more I think of it, the more I feel like pop-up-frames) should be ignored on ttys (and maybe special-display-buffers as well). Stefan From unknown Sat Jun 21 05:00:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1061: pop-up-frames does not work on a tty Reply-To: martin rudalics , 1061@debbugs.gnu.org Resent-From: martin rudalics Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 03 Oct 2008 12:00:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1061-submit@emacsbugs.donarmstrong.com id=B1061.122303472829040 (code B ref 1061); Fri, 03 Oct 2008 12:00:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.2 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, MIXEDBDN autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1061) by emacsbugs.donarmstrong.com; 3 Oct 2008 11:52:08 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m93Bq2VK029034 for <1061@emacsbugs.donarmstrong.com>; Fri, 3 Oct 2008 04:52:05 -0700 Received: (qmail invoked by alias); 03 Oct 2008 11:51:56 -0000 Received: from 62-47-54-80.adsl.highway.telekom.at (EHLO [62.47.54.80]) [62.47.54.80] by mail.gmx.net (mp017) with SMTP; 03 Oct 2008 13:51:56 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/6antV6+v6ttExFKtEfSFJrjBvKb/Wk9jg6cbTIv lcMxn+uzkP+zuE Message-ID: <48E60728.9080207@gmx.at> Date: Fri, 03 Oct 2008 13:51:04 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Stefan Monnier CC: 1061@debbugs.gnu.org, Dan Nicolaescu References: <200810010840.m918eNXF002502@mothra.ics.uci.edu> <48E37A78.50804@gmx.at> <200810011520.m91FKd1Q003547@mothra.ics.uci.edu> <48E3BF6A.9070602@gmx.at> <200810011856.m91IuPAT012990@mothra.ics.uci.edu> <48E49567.2070802@gmx.at> In-Reply-To: Content-Type: multipart/mixed; boundary="------------060302000607060102090705" X-Y-GMX-Trusted: 0 X-FuHaFi: 0.82,0.58 This is a multi-part message in MIME format. --------------060302000607060102090705 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > Yes, the more I think of it, the more I feel like pop-up-frames) should > be ignored on ttys (and maybe special-display-buffers as well). Why throw out the child with the bathwater? We could have `raise-frame' simply select its argument on text-only terminals. martin --------------060302000607060102090705 Content-Type: text/plain; name="1061.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="1061.diff" *** frame.c.~1.394.~ 2008-09-30 19:36:42.968750000 +0200 --- frame.c 2008-10-03 13:47:18.171875000 +0200 *************** *** 2004,2010 **** If FRAME is invisible or iconified, make it visible. If you don't specify a frame, the selected frame is used. If Emacs is displaying on an ordinary terminal or some other device which ! doesn't support multiple overlapping frames, this function does nothing. */) (frame) Lisp_Object frame; { --- 2004,2010 ---- If FRAME is invisible or iconified, make it visible. If you don't specify a frame, the selected frame is used. If Emacs is displaying on an ordinary terminal or some other device which ! doesn't support multiple overlapping frames, this function selects FRAME. */) (frame) Lisp_Object frame; { *************** *** 2016,2023 **** f = XFRAME (frame); ! /* Do like the documentation says. */ ! Fmake_frame_visible (frame); if (FRAME_TERMINAL (f)->frame_raise_lower_hook) (*FRAME_TERMINAL (f)->frame_raise_lower_hook) (f, 1); --- 2016,2027 ---- f = XFRAME (frame); ! if (FRAME_TERMCAP_P (f)) ! /* On a text-only terminal select FRAME. */ ! Fselect_frame (frame); ! else ! /* Do like the documentation says. */ ! Fmake_frame_visible (frame); if (FRAME_TERMINAL (f)->frame_raise_lower_hook) (*FRAME_TERMINAL (f)->frame_raise_lower_hook) (f, 1); --------------060302000607060102090705-- From unknown Sat Jun 21 05:00:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1061: pop-up-frames does not work on a tty Reply-To: Stefan Monnier , 1061@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 03 Oct 2008 13:15:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1061-submit@emacsbugs.donarmstrong.com id=B1061.122303936516103 (code B ref 1061); Fri, 03 Oct 2008 13:15:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.3 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, MDO_DATING2 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1061) by emacsbugs.donarmstrong.com; 3 Oct 2008 13:09:25 +0000 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m93D9MGg016096 for <1061@emacsbugs.donarmstrong.com>; Fri, 3 Oct 2008 06:09:23 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqAEAIe25UjO+KVj/2dsb2JhbACBcbozgWiBBQ X-IronPort-AV: E=Sophos;i="4.33,356,1220241600"; d="scan'208";a="27937351" Received: from 206-248-165-99.dsl.teksavvy.com (HELO pastel.home) ([206.248.165.99]) by ironport2-out.teksavvy.com with ESMTP; 03 Oct 2008 09:09:17 -0400 Received: by pastel.home (Postfix, from userid 20848) id 4302180D0; Fri, 3 Oct 2008 09:09:17 -0400 (EDT) From: Stefan Monnier To: martin rudalics Cc: 1061@debbugs.gnu.org, Dan Nicolaescu Message-ID: References: <200810010840.m918eNXF002502@mothra.ics.uci.edu> <48E37A78.50804@gmx.at> <200810011520.m91FKd1Q003547@mothra.ics.uci.edu> <48E3BF6A.9070602@gmx.at> <200810011856.m91IuPAT012990@mothra.ics.uci.edu> <48E49567.2070802@gmx.at> <48E60728.9080207@gmx.at> Date: Fri, 03 Oct 2008 09:09:17 -0400 In-Reply-To: <48E60728.9080207@gmx.at> (martin rudalics's message of "Fri, 03 Oct 2008 13:51:04 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >> Yes, the more I think of it, the more I feel like pop-up-frames) should >> be ignored on ttys (and maybe special-display-buffers as well). > Why throw out the child with the bathwater? I love pop-up-frames, but I only set it in X11 sessions. Now with multi-tty I often find myself doing M-: (setq pop-up-frames nil) RET because my tty sessions (within X11 sessions) are simply unbearable. > We could have `raise-frame' simply select its argument on > text-only terminals. Not good enough. The support for frames under ttys is not sufficiently good for that: there are *very* few ways for the user to manage his frames and go from one to another. Also under ttys, having many different frames all showing a single buffer in a single window is pretty dumb: you may as well use a single frame with a single window and switch buffers in there. Yet, pop-up-frames tends to put you in such situations. I think that under a tty, frames only really make sense when the user sets them up explicitly, not implicitly as part of calls to display-buffer. Stefan From unknown Sat Jun 21 05:00:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1061: pop-up-frames does not work on a tty Reply-To: martin rudalics , 1061@debbugs.gnu.org Resent-From: martin rudalics Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 03 Oct 2008 13:50:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1061-submit@emacsbugs.donarmstrong.com id=B1061.122304134324611 (code B ref 1061); Fri, 03 Oct 2008 13:50:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.7 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1061) by emacsbugs.donarmstrong.com; 3 Oct 2008 13:42:23 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m93DgG1M024605 for <1061@emacsbugs.donarmstrong.com>; Fri, 3 Oct 2008 06:42:17 -0700 Received: (qmail invoked by alias); 03 Oct 2008 13:42:10 -0000 Received: from 62-47-55-7.adsl.highway.telekom.at (EHLO [62.47.55.7]) [62.47.55.7] by mail.gmx.net (mp021) with SMTP; 03 Oct 2008 15:42:10 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+Eb19sOViEZ8brFsL8ooFYQZKyyNooBk1nchqew4 qFk/UixGqJOSy0 Message-ID: <48E62118.3030202@gmx.at> Date: Fri, 03 Oct 2008 15:41:44 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Stefan Monnier CC: 1061@debbugs.gnu.org, Dan Nicolaescu References: <200810010840.m918eNXF002502@mothra.ics.uci.edu> <48E37A78.50804@gmx.at> <200810011520.m91FKd1Q003547@mothra.ics.uci.edu> <48E3BF6A.9070602@gmx.at> <200810011856.m91IuPAT012990@mothra.ics.uci.edu> <48E49567.2070802@gmx.at> <48E60728.9080207@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.8 > Not good enough. The support for frames under ttys is not sufficiently > good for that: there are *very* few ways for the user to manage his > frames and go from one to another. Also under ttys, having many > different frames all showing a single buffer in a single window is > pretty dumb: you may as well use a single frame with a single window and > switch buffers in there. Yet, pop-up-frames tends to put you in > such situations. I think that under a tty, frames only really make > sense when the user sets them up explicitly, not implicitly as part of > calls to display-buffer. OK. But `display-buffer' and `raise-frame' seem _both_ broken on a tty. Fixing the former won't fix the latter. martin From unknown Sat Jun 21 05:00:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1061: pop-up-frames does not work on a tty Reply-To: Eli Zaretskii , 1061@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 03 Oct 2008 17:15:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122305362112027 (code B ref -1); Fri, 03 Oct 2008 17:15:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.6 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_LOW,RCVD_IN_NIX1 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 3 Oct 2008 17:07:01 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m93H6vsb012011 for ; Fri, 3 Oct 2008 10:06:58 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Klo7E-0001iV-TB for bug-gnu-emacs@gnu.org; Fri, 03 Oct 2008 13:06:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Klo7A-0001i3-PB for bug-gnu-emacs@gnu.org; Fri, 03 Oct 2008 13:06:55 -0400 Received: from [199.232.76.173] (port=34985 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Klo7A-0001i0-IB for bug-gnu-emacs@gnu.org; Fri, 03 Oct 2008 13:06:52 -0400 Received: from mtaout2.012.net.il ([84.95.2.4]:33256) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Klo79-0001Vo-PX for bug-gnu-emacs@gnu.org; Fri, 03 Oct 2008 13:06:52 -0400 Received: from HOME-C4E4A596F7 ([77.127.170.116]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K86004GCA9DHRO0@i_mtaout2.012.net.il> for bug-gnu-emacs@gnu.org; Fri, 03 Oct 2008 20:08:01 +0300 (IDT) Date: Fri, 03 Oct 2008 20:06:51 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier , 1061@debbugs.gnu.org Cc: rudalics@gmx.at, bug-gnu-emacs@gnu.org Message-id: References: <200810010840.m918eNXF002502@mothra.ics.uci.edu> <48E37A78.50804@gmx.at> <200810011520.m91FKd1Q003547@mothra.ics.uci.edu> <48E3BF6A.9070602@gmx.at> <200810011856.m91IuPAT012990@mothra.ics.uci.edu> <48E49567.2070802@gmx.at> <48E60728.9080207@gmx.at> X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 > From: Stefan Monnier > Date: Fri, 03 Oct 2008 09:09:17 -0400 > Cc: 1061@emacsbugs.donarmstrong.com, Dan Nicolaescu > > The support for frames under ttys is not sufficiently good for that: > there are *very* few ways for the user to manage his frames and go > from one to another. What's wrong with select-frame-by-name? > I think that under a tty, frames only really make sense when the > user sets them up explicitly, not implicitly as part of calls to > display-buffer. As someone who uses frames a lot on a tty, I agree. Usually, each my frame is set to do some specific set of related activities. For example, I'd typically have a frame for reading mail, another one for whatever current programming project I'm busy with, yet another for reading Info manuals, etc. The names of the frames would be set accordingly: "Mail", "Prog", "Docs", etc. select-frame-by-name comes very handy to switch between frames with mnemonic frame names. From unknown Sat Jun 21 05:00:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1061: pop-up-frames does not work on a tty Reply-To: Stefan Monnier , 1061@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 06 Oct 2008 14:10:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1061-submit@emacsbugs.donarmstrong.com id=B1061.12233017417907 (code B ref 1061); Mon, 06 Oct 2008 14:10:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.4 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1061) by emacsbugs.donarmstrong.com; 6 Oct 2008 14:02:21 +0000 Received: from chene.dit.umontreal.ca (chene.dit.umontreal.ca [132.204.246.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m96E2GjG007901 for <1061@emacsbugs.donarmstrong.com>; Mon, 6 Oct 2008 07:02:17 -0700 Received: from alfajor.home (vpn-132-204-232-40.acd.umontreal.ca [132.204.232.40]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id m96E2EBo010504; Mon, 6 Oct 2008 10:02:14 -0400 Received: by alfajor.home (Postfix, from userid 20848) id 763421C3E8; Mon, 6 Oct 2008 10:02:14 -0400 (EDT) From: Stefan Monnier To: martin rudalics Cc: 1061@debbugs.gnu.org, Dan Nicolaescu Message-ID: References: <200810010840.m918eNXF002502@mothra.ics.uci.edu> <48E37A78.50804@gmx.at> <200810011520.m91FKd1Q003547@mothra.ics.uci.edu> <48E3BF6A.9070602@gmx.at> <200810011856.m91IuPAT012990@mothra.ics.uci.edu> <48E49567.2070802@gmx.at> <48E60728.9080207@gmx.at> <48E62118.3030202@gmx.at> Date: Mon, 06 Oct 2008 10:02:14 -0400 In-Reply-To: <48E62118.3030202@gmx.at> (martin rudalics's message of "Fri, 03 Oct 2008 15:41:44 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3118=0 > OK. But `display-buffer' and `raise-frame' seem _both_ broken on a tty. > Fixing the former won't fix the latter. Yes, indeed. And fixing raise-frame won't fix display-buffer. Stefan From unknown Sat Jun 21 05:00:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1061: pop-up-frames does not work on a tty Reply-To: Stefan Monnier , 1061@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 06 Oct 2008 14:15:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12233020029822 (code B ref -1); Mon, 06 Oct 2008 14:15:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.4 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 6 Oct 2008 14:06:42 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m96E6YAx009816 for ; Mon, 6 Oct 2008 07:06:36 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmqjK-0001pA-F6 for bug-gnu-emacs@gnu.org; Mon, 06 Oct 2008 10:06:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmqjH-0001og-5E for bug-gnu-emacs@gnu.org; Mon, 06 Oct 2008 10:06:34 -0400 Received: from [199.232.76.173] (port=44276 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmqjG-0001od-Pl for bug-gnu-emacs@gnu.org; Mon, 06 Oct 2008 10:06:30 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:51517) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KmqjD-0000Ac-BV; Mon, 06 Oct 2008 10:06:27 -0400 Received: from alfajor.home (vpn-132-204-232-40.acd.umontreal.ca [132.204.232.40]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id m96E67fK012068; Mon, 6 Oct 2008 10:06:07 -0400 Received: by alfajor.home (Postfix, from userid 20848) id F12CC1C3E8; Mon, 6 Oct 2008 10:06:06 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Cc: 1061@debbugs.gnu.org, rudalics@gmx.at, bug-gnu-emacs@gnu.org Message-ID: References: <200810010840.m918eNXF002502@mothra.ics.uci.edu> <48E37A78.50804@gmx.at> <200810011520.m91FKd1Q003547@mothra.ics.uci.edu> <48E3BF6A.9070602@gmx.at> <200810011856.m91IuPAT012990@mothra.ics.uci.edu> <48E49567.2070802@gmx.at> <48E60728.9080207@gmx.at> Date: Mon, 06 Oct 2008 10:06:06 -0400 In-Reply-To: (Eli Zaretskii's message of "Fri, 03 Oct 2008 20:06:51 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3118=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) >> The support for frames under ttys is not sufficiently good for that: >> there are *very* few ways for the user to manage his frames and go >> from one to another. > What's wrong with select-frame-by-name? That and C-x 5 o are the only ways I know. 2 is "very few". And if you use pop-up-frames, you'll see that select-frame-by-name is not good enough, because the names are chosen automatically for you and you get name clashes, etc... >> I think that under a tty, frames only really make sense when the >> user sets them up explicitly, not implicitly as part of calls to >> display-buffer. > As someone who uses frames a lot on a tty, I agree. Usually, each > my frame is set to do some specific set of related activities. For > example, I'd typically have a frame for reading mail, another one for > whatever current programming project I'm busy with, yet another for > reading Info manuals, etc. The names of the frames would be set > accordingly: "Mail", "Prog", "Docs", etc. select-frame-by-name comes > very handy to switch between frames with mnemonic frame names. Exactly: this use was the intended one, and it works well for that case, but pop-up-frames is a whole other game. Stefan From unknown Sat Jun 21 05:00:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1061: pop-up-frames does not work on a tty Reply-To: martin rudalics , 1061@debbugs.gnu.org Resent-From: martin rudalics Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 06 Oct 2008 16:40:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1061-submit@emacsbugs.donarmstrong.com id=B1061.122331074113296 (code B ref 1061); Mon, 06 Oct 2008 16:40:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.9 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1061) by emacsbugs.donarmstrong.com; 6 Oct 2008 16:32:21 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m96GWEJx013288 for <1061@emacsbugs.donarmstrong.com>; Mon, 6 Oct 2008 09:32:15 -0700 Received: (qmail invoked by alias); 06 Oct 2008 16:32:08 -0000 Received: from 88-117-36-16.adsl.highway.telekom.at (EHLO [88.117.36.16]) [88.117.36.16] by mail.gmx.net (mp017) with SMTP; 06 Oct 2008 18:32:08 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX185DbQaB4k5RQzWwxo9+B7WrLTiND4jle/WcMuJ5h u8E0imCfeafD3B Message-ID: <48EA3D68.9030909@gmx.at> Date: Mon, 06 Oct 2008 18:31:36 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Stefan Monnier CC: 1061@debbugs.gnu.org, Dan Nicolaescu References: <200810010840.m918eNXF002502@mothra.ics.uci.edu> <48E37A78.50804@gmx.at> <200810011520.m91FKd1Q003547@mothra.ics.uci.edu> <48E3BF6A.9070602@gmx.at> <200810011856.m91IuPAT012990@mothra.ics.uci.edu> <48E49567.2070802@gmx.at> <48E60728.9080207@gmx.at> <48E62118.3030202@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.83 > Yes, indeed. And fixing raise-frame won't fix display-buffer. Not in your sense, I know. It will fix `display-buffer-reuse-frames' though. martin From unknown Sat Jun 21 05:00:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1061: pop-up-frames does not work on a tty Reply-To: Chong Yidong , 1061@debbugs.gnu.org Resent-From: Chong Yidong Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 09 Oct 2008 00:55:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1061-submit@emacsbugs.donarmstrong.com id=B1061.122351339011447 (code B ref 1061); Thu, 09 Oct 2008 00:55:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.4 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1061) by emacsbugs.donarmstrong.com; 9 Oct 2008 00:49:50 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m990nlGa011441 for <1061@emacsbugs.donarmstrong.com>; Wed, 8 Oct 2008 17:49:48 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 32B2557E218; Wed, 8 Oct 2008 20:51:31 -0400 (EDT) From: Chong Yidong To: Stefan Monnier Cc: martin rudalics , 1061@debbugs.gnu.org, Dan Nicolaescu Date: Wed, 08 Oct 2008 20:51:31 -0400 Message-ID: <87iqs2mvzg.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii It may not be wise to change the behavior of pop-up-frames so radically right now. How bout the following change, which allows a `on-graphic-displays' value of pop-up-frames to restrict pop-up-frames to graphic displays? Martin's patch can go on top of this, for those people who do want to use pop-up-frames on ttys (who knows, frame manipulation on ttys might improve in the future). diff -c /home/cyd/trunk/lisp/window.el.\~1.154.\~ /home/cyd/trunk/lisp/window.el *** trunk/lisp/window.el.~1.154.~ 2008-10-05 14:13:01.000000000 -0400 --- trunk/lisp/window.el 2008-10-08 20:46:19.000000000 -0400 *************** *** 710,717 **** :group 'windows) (defcustom pop-up-frames nil ! "Non-nil means `display-buffer' should make a separate frame." ! :type 'boolean :group 'windows) (defcustom display-buffer-reuse-frames nil --- 710,723 ---- :group 'windows) (defcustom pop-up-frames nil ! "Whether `display-buffer' should make a separate frame. ! If nil, never make a seperate frame. ! If the value is `on-graphic-displays', make a separate frame only ! if the selected frame is on a graphic display. ! Any other non-nil value means to make a separate frame." ! :type '(choice (const :tag "Never" nil) ! (const :tag "On graphic displays" on-graphic-displays) ! (const :tag "Always" t)) :group 'windows) (defcustom display-buffer-reuse-frames nil *************** *** 941,946 **** --- 947,957 ---- (not (or not-this-window (window-dedicated-p (selected-window)) (window-minibuffer-p)))) + (use-pop-up-frame + (cond ((null pop-up-frames) nil) + ((eq pop-up-frames 'on-graphic-displays) + (display-graphic-p)) + (t t))) (buffer (if (bufferp buffer-or-name) buffer-or-name (get-buffer buffer-or-name))) *************** *** 967,973 **** ;; If the buffer's name tells us to use the selected window do so. (window--display-buffer-2 buffer (selected-window))) ((let ((frames (or frame ! (and (or pop-up-frames display-buffer-reuse-frames (not (last-nonminibuffer-frame))) 0) (last-nonminibuffer-frame)))) --- 978,985 ---- ;; If the buffer's name tells us to use the selected window do so. (window--display-buffer-2 buffer (selected-window))) ((let ((frames (or frame ! (and (or use-pop-up-frame ! display-buffer-reuse-frames (not (last-nonminibuffer-frame))) 0) (last-nonminibuffer-frame)))) *************** *** 983,989 **** (when pars (funcall special-display-function buffer (if (listp pars) pars)))))) ! ((or pop-up-frames (not frame-to-use)) ;; We want or need a new frame. (window--display-buffer-2 buffer (frame-selected-window (funcall pop-up-frame-function)))) --- 995,1001 ---- (when pars (funcall special-display-function buffer (if (listp pars) pars)))))) ! ((or use-pop-up-frame (not frame-to-use)) ;; We want or need a new frame. (window--display-buffer-2 buffer (frame-selected-window (funcall pop-up-frame-function)))) Diff finished. Wed Oct 8 20:46:21 2008 From unknown Sat Jun 21 05:00:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1061: pop-up-frames does not work on a tty Reply-To: Stefan Monnier , 1061@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 09 Oct 2008 02:10:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1061-submit@emacsbugs.donarmstrong.com id=B1061.122351760328892 (code B ref 1061); Thu, 09 Oct 2008 02:10:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.5 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1061) by emacsbugs.donarmstrong.com; 9 Oct 2008 02:00:03 +0000 Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m991xxkl028795 for <1061@emacsbugs.donarmstrong.com>; Wed, 8 Oct 2008 19:00:01 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtAEAH8C7UjO+IH3/2dsb2JhbACBcrxSgWqBBw X-IronPort-AV: E=Sophos;i="4.33,381,1220241600"; d="scan'208";a="28186958" Received: from 206-248-129-247.dsl.teksavvy.com (HELO pastel.home) ([206.248.129.247]) by ironport2-out.teksavvy.com with ESMTP; 08 Oct 2008 21:59:54 -0400 Received: by pastel.home (Postfix, from userid 20848) id E6B4D8568; Wed, 8 Oct 2008 21:59:53 -0400 (EDT) From: Stefan Monnier To: Chong Yidong Cc: martin rudalics , 1061@debbugs.gnu.org, Dan Nicolaescu Message-ID: References: <87iqs2mvzg.fsf@cyd.mit.edu> Date: Wed, 08 Oct 2008 21:59:53 -0400 In-Reply-To: <87iqs2mvzg.fsf@cyd.mit.edu> (Chong Yidong's message of "Wed, 08 Oct 2008 20:51:31 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > It may not be wise to change the behavior of pop-up-frames so radically > right now. How bout the following change, which allows a > `on-graphic-displays' value of pop-up-frames to restrict pop-up-frames > to graphic displays? I was thinking of using a `tty' value to say "even on ttys" (which would have changed the behavior for t along the lines of what I suggest), but your suggestion is OK as well. Stefan From unknown Sat Jun 21 05:00:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1061: pop-up-frames does not work on a tty Reply-To: martin rudalics , 1061@debbugs.gnu.org Resent-From: martin rudalics Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 09 Oct 2008 08:45:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1061-submit@emacsbugs.donarmstrong.com id=B1061.122354137631640 (code B ref 1061); Thu, 09 Oct 2008 08:45:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.7 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1061) by emacsbugs.donarmstrong.com; 9 Oct 2008 08:36:16 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m998aCV0031631 for <1061@emacsbugs.donarmstrong.com>; Thu, 9 Oct 2008 01:36:13 -0700 Received: (qmail invoked by alias); 09 Oct 2008 08:36:05 -0000 Received: from 62-47-55-242.adsl.highway.telekom.at (EHLO [62.47.55.242]) [62.47.55.242] by mail.gmx.net (mp023) with SMTP; 09 Oct 2008 10:36:05 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18NlZEfmJANRbwQb/ECJbJXugVm2ingn4A+oplo8K lryZE0Xf1I8yAq Message-ID: <48EDC1EE.5070702@gmx.at> Date: Thu, 09 Oct 2008 10:33:50 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Chong Yidong CC: Stefan Monnier , 1061@debbugs.gnu.org, Dan Nicolaescu References: <87iqs2mvzg.fsf@cyd.mit.edu> In-Reply-To: <87iqs2mvzg.fsf@cyd.mit.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.82 > It may not be wise to change the behavior of pop-up-frames so radically > right now. How bout the following change, which allows a > `on-graphic-displays' value of pop-up-frames to restrict pop-up-frames > to graphic displays? I checked in a slightly modified version. Thanks for coming to an agreement on this, martin. From unknown Sat Jun 21 05:00:30 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Dan Nicolaescu Subject: bug#1061 closed by martin rudalics (Re: bug#1061: pop-up-frames does not work on a tty) Message-ID: References: <48EDC1F2.4050305@gmx.at> <200810010840.m918eNXF002502@mothra.ics.uci.edu> X-Emacs-PR-Message: they-closed 1061 X-Emacs-PR-Package: emacs Reply-To: 1061@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1223541904-428-1" This is a multi-part message in MIME format... ------------=_1223541904-428-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #1061: pop-up-frames does not work on a tty It has been closed by martin rudalics . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact martin rudalics by replying to this email. --=20 1061: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1061 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1223541904-428-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From rudalics@gmx.at Thu Oct 9 01:36:20 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.7 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1061-done) by emacsbugs.donarmstrong.com; 9 Oct 2008 08:36:20 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m998aD1J031632 for <1061-done@emacsbugs.donarmstrong.com>; Thu, 9 Oct 2008 01:36:15 -0700 Received: (qmail invoked by alias); 09 Oct 2008 08:36:08 -0000 Received: from 62-47-55-242.adsl.highway.telekom.at (EHLO [62.47.55.242]) [62.47.55.242] by mail.gmx.net (mp030) with SMTP; 09 Oct 2008 10:36:08 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+GNsF0t8aGxhrZqapm7iYtIx6noUnnMP/z/jxb8I 3svnRsQ+oYAZ+f Message-ID: <48EDC1F2.4050305@gmx.at> Date: Thu, 09 Oct 2008 10:33:54 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: 1061-done@debbugs.gnu.org Subject: Re: bug#1061: pop-up-frames does not work on a tty References: <87iqs2mvzg.fsf@cyd.mit.edu> In-Reply-To: <87iqs2mvzg.fsf@cyd.mit.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.74 Fixed as * window.el (pop-up-frames): Add choice graphic-only. (display-buffer): When pop-up-frames equals graphic-only do not pop up new frame on text-only terminals. (Bug#1061) * frame.c (Fraise_frame): On text-only terminals select frame in order to make it visible. (Bug#1061) martin ------------=_1223541904-428-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From dann@mothra.ics.uci.edu Wed Oct 1 01:40:39 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.3 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 1 Oct 2008 08:40:39 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m918eXKr008461 for ; Wed, 1 Oct 2008 01:40:34 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KkxG4-0007Rp-RP for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2008 04:40:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KkxG3-0007Qs-Fr for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2008 04:40:32 -0400 Received: from [199.232.76.173] (port=46057 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KkxG3-0007Ql-7x for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2008 04:40:31 -0400 Received: from barrelv2.ics.uci.edu ([128.195.1.114]:49812) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1KkxG2-00007E-PC for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2008 04:40:31 -0400 Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m918eNgC027994 for ; Wed, 1 Oct 2008 01:40:24 -0700 (PDT) Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id m918eNXF002502; Wed, 1 Oct 2008 01:40:23 -0700 (PDT) Date: Wed, 1 Oct 2008 01:40:23 -0700 (PDT) Message-Id: <200810010840.m918eNXF002502@mothra.ics.uci.edu> From: Dan Nicolaescu To: bug-gnu-emacs@gnu.org Subject: pop-up-frames does not work on a tty Lines: 11 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: m918eNgC027994 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) With the current CVS HEAD: emacs -Q -nw M-: (setq pop-up-frames t) RET C-h f ding RET The *Help* buffer does not appear at this point, a new frame is created, but the current frame does not show the help buffer. with emacs-22.2 the *Help* buffer is displayed. ------------=_1223541904-428-1--