From unknown Sat Jun 21 10:17:45 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#3080 <3080@debbugs.gnu.org> To: bug#3080 <3080@debbugs.gnu.org> Subject: Status: 23.0.92; emacsclient can not open frame without visiting file Reply-To: bug#3080 <3080@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:17:45 +0000 retitle 3080 23.0.92; emacsclient can not open frame without visiting file reassign 3080 emacs submitter 3080 Jameson Rollins severity 3080 normal thanks From jrollins@finestructure.net Wed Apr 22 08:54:03 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 22 Apr 2009 15:54:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3MFrxOQ015553 for ; Wed, 22 Apr 2009 08:54:00 -0700 Received: from mail.gnu.org ([199.232.76.166]:36771 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Lwelq-0004aY-93 for emacs-pretest-bug@gnu.org; Wed, 22 Apr 2009 11:53:58 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Lwelm-0005xV-50 for emacs-pretest-bug@gnu.org; Wed, 22 Apr 2009 11:53:58 -0400 Received: from serrano.cc.columbia.edu ([128.59.29.6]:44259) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lwell-0005wc-QE for emacs-pretest-bug@gnu.org; Wed, 22 Apr 2009 11:53:54 -0400 Received: from servo.finestructure.net ([198.129.209.64]) (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0) by serrano.cc.columbia.edu (8.14.3/8.14.1) with ESMTP id n3MFriFq017675 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Wed, 22 Apr 2009 11:53:45 -0400 (EDT) Received: from jrollins by servo.finestructure.net with local (Exim 4.69) (envelope-from ) id 1LwemR-0003Xm-29; Wed, 22 Apr 2009 08:54:35 -0700 To: emacs-pretest-bug@gnu.org CC: rfrancoise@debian.org Subject: 23.0.92; emacsclient can not open frame without visiting file Message-Id: From: Jameson Rollins Date: Wed, 22 Apr 2009 08:54:35 -0700 X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.65 on 128.59.29.6 X-detected-operating-system: by monty-python.gnu.org: Solaris 9 emacsclient does not allow for opening a frame, either in a terminal or in a new X frame, with*out* touching a file. This is maybe only an issue when emacs is run in --daemon mode where an initial frame is not created. It is often useful to open up an emacs without having a particular file that needs to be editted, and this is not currently possible. In fact, I would prefer to see emacsclient behave more like the "classical" emacs behaves. I would like to see the following behavior, that I think makes more sense and is more compatible with the classic interface: emacsclient opens up a new frame with *scratch* emacsclient opens up a new frame with emacsclient -nw opens up a new frame in the current terminal with *scratch* emacsclient -nw opens up a new frame in the current terminal with emacsclient - opens up in an already opened "master" frame emacs --daemon mode is incredibly useful, and is the way I plan on running emacs in the future, it would be nice to see the emacsclient interface in parity with the standard "classical" emacs interface. Thanks so much for working on the best editor in the world. In GNU Emacs 23.0.92.1 (i486-pc-linux-gnu, GTK+ Version 2.14.7) of 2009-04-11 on elegiac, modified by Debian (emacs-snapshot package, version 1:20090411-1) Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.92/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.92/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: shell-dirtrack-mode: t iswitchb-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: s SPC I SPC h o p e d SPC w ESC b ESC b C-e w o u l DEL DEL DEL DEL o u l d SPC b e SPC a v a ESC b ESC b ESC b ESC b ESC b C-k a r e SPC * n o t * SPC a v a i l a b l e . SPC SPC I ' m SPC s o r r y . SPC SPC I SPC r e a l l y SPC h o p e d SPC i t SPC w o u l d SPC h a v e SPC b e e n , SPC s i n c e SPC i t SPC w o u l d SPC h a v e SPC b e e n SPC s o DEL DEL v e r y SPC v DEL g o o d SPC f o r SPC y o u SPC g u y s . SPC SPC L e t SPC m e SPC k n o w SPC i f SPC I SPC c a n SPC h e l p SPC y o u SPC f i n d SPC ESC b ESC b C-k m o r e SPC i n SPC t h e SPC s e a r c h , SPC DEL DEL . RET RET j a m i e . ESC [ A ESC [ A ESC [ A ESC [ A ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C C-d C-d C-d C-d C-d SPC i s ESC q C-x C-s C-x C-c M-x r e p o r t Recent messages: When done with a buffer, type C-x # Auto-saving...done Mark set Auto-saving...done Mark set Auto-saving...done Saving file /tmp/mutt-servo-1000-30596-6... Wrote /tmp/mutt-servo-1000-30596-6 (No files need saving) Making completion list... [2 times] From whitebox@nefkom.net Wed Apr 22 13:42:39 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 22 Apr 2009 20:42:40 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=unavailable version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3MKgbWZ025620 for ; Wed, 22 Apr 2009 13:42:38 -0700 Received: from mail.gnu.org ([199.232.76.166]:37010 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LwjH9-0007BS-Om for emacs-pretest-bug@gnu.org; Wed, 22 Apr 2009 16:42:36 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LwjH4-0002rq-62 for emacs-pretest-bug@gnu.org; Wed, 22 Apr 2009 16:42:34 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:40162) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LwjH3-0002rK-S1 for emacs-pretest-bug@gnu.org; Wed, 22 Apr 2009 16:42:30 -0400 Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 622F11C0010E; Wed, 22 Apr 2009 22:42:23 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.1.215]) by mail.m-online.net (Postfix) with ESMTP id 6D15E901B2; Wed, 22 Apr 2009 22:42:25 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan2.mnet-online.de [192.168.1.215]) (amavisd-new, port 10024) with ESMTP id Xk9SuqEOq1EB; Wed, 22 Apr 2009 22:42:24 +0200 (CEST) Received: from igel.home (DSL01.83.171.164.197.ip-pool.NEFkom.net [83.171.164.197]) by mail.mnet-online.de (Postfix) with ESMTP; Wed, 22 Apr 2009 22:42:24 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 31FA810C414; Wed, 22 Apr 2009 22:42:24 +0200 (CEST) From: Andreas Schwab To: Jameson Rollins Cc: 3080@debbugs.gnu.org, emacs-pretest-bug@gnu.org, rfrancoise@debian.org Subject: Re: bug#3080: 23.0.92; emacsclient can not open frame without visiting file References: X-Yow: Oh my GOD -- the SUN just fell into YANKEE STADIUM!! Date: Wed, 22 Apr 2009 22:42:23 +0200 In-Reply-To: (Jameson Rollins's message of "Wed, 22 Apr 2009 08:54:35 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Jameson Rollins writes: > emacsclient does not allow for opening a frame, either in a terminal > or in a new X frame, with*out* touching a file. $ emacsclient --eval '(progn (select-frame (make-frame)) nil)' Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From dann@godzilla.ics.uci.edu Wed Apr 22 14:26:02 2009 Received: (at 3080) by emacsbugs.donarmstrong.com; 22 Apr 2009 21:26:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.0 required=4.0 tests=HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n3MLQ0ea004901 for <3080@emacsbugs.donarmstrong.com>; Wed, 22 Apr 2009 14:26:01 -0700 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n3MLP66q006637; Wed, 22 Apr 2009 14:25:06 -0700 (PDT) Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n3MLP4kN008572; Wed, 22 Apr 2009 14:25:04 -0700 (PDT) Date: Wed, 22 Apr 2009 14:25:04 -0700 (PDT) Message-Id: <200904222125.n3MLP4kN008572@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Jameson Rollins Cc: 3080@debbugs.gnu.org, rfrancoise@debian.org Subject: Re: bug#3080: 23.0.92; emacsclient can not open frame without visiting file References: X-Debbugs-No-Ack: yes In-Reply-To: (Jameson Rollins's message of "Wed, 22 Apr 2009 08:54:35 -0700") Lines: 39 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: n3MLP66q006637 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@godzilla.ics.uci.edu Jameson Rollins writes: > emacsclient does not allow for opening a frame, either in a terminal > or in a new X frame, with*out* touching a file. This is maybe only an > issue when emacs is run in --daemon mode where an initial frame is not > created. It is often useful to open up an emacs without having a > particular file that needs to be editted, and this is not currently > possible. In fact, I would prefer to see emacsclient behave more like > the "classical" emacs behaves. I would like to see the following > behavior, that I think makes more sense and is more compatible with > the classic interface: > > emacsclient > opens up a new frame with *scratch* does not work, it seems intentional, no idea why. > emacsclient > opens up a new frame with emacsclient -c does this > emacsclient -nw > opens up a new frame in the current terminal with *scratch* this works > emacsclient -nw > opens up a new frame in the current terminal with this works > emacsclient - > opens up in an already opened "master" frame emacsclient does this From cyd@stupidchicken.com Wed Apr 22 17:13:05 2009 Received: (at control) by emacsbugs.donarmstrong.com; 23 Apr 2009 00:13:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n3N0D3Uv014846 for ; Wed, 22 Apr 2009 17:13:04 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 4514357E246; Wed, 22 Apr 2009 20:14:58 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 3080 Date: Wed, 22 Apr 2009 20:14:58 -0400 Message-ID: <873ac0z0n1.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii close 3080 thanks From jrollins@finestructure.net Wed Apr 22 17:38:13 2009 Received: (at 3080) by emacsbugs.donarmstrong.com; 23 Apr 2009 00:38:13 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from brinza.cc.columbia.edu (brinza.cc.columbia.edu [128.59.29.8]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3N0cAUR020898 for <3080@emacsbugs.donarmstrong.com>; Wed, 22 Apr 2009 17:38:11 -0700 Received: from servo.finestructure.net (salmon.ligo-wa.caltech.edu [198.129.208.147]) (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0) by brinza.cc.columbia.edu (8.14.3/8.14.1) with ESMTP id n3N0c5jY002969 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Wed, 22 Apr 2009 20:38:06 -0400 (EDT) Received: from jrollins by servo.finestructure.net with local (Exim 4.69) (envelope-from ) id 1Lwmxr-0001hq-1g; Wed, 22 Apr 2009 17:38:55 -0700 Date: Wed, 22 Apr 2009 17:38:55 -0700 From: Jameson Rollins To: Dan Nicolaescu Cc: 3080@debbugs.gnu.org, rfrancoise@debian.org Subject: Re: bug#3080: 23.0.92; emacsclient can not open frame without visiting file Message-ID: <20090423003855.GK7931@finestructure.net> References: <200904222125.n3MLP4kN008572@godzilla.ics.uci.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vKFfOv5t3oGVpiF+" Content-Disposition: inline In-Reply-To: <200904222125.n3MLP4kN008572@godzilla.ics.uci.edu> User-Agent: Mutt/1.5.18 (2008-05-17) X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.65 on 128.59.29.8 --vKFfOv5t3oGVpiF+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 22, 2009 at 02:25:04PM -0700, Dan Nicolaescu wrote: > Jameson Rollins writes: >=20 > > emacsclient does not allow for opening a frame, either in a terminal > > or in a new X frame, with*out* touching a file. This is maybe only an > > issue when emacs is run in --daemon mode where an initial frame is not > > created. It is often useful to open up an emacs without having a > > particular file that needs to be editted, and this is not currently > > possible. In fact, I would prefer to see emacsclient behave more like > > the "classical" emacs behaves. I would like to see the following > > behavior, that I think makes more sense and is more compatible with > > the classic interface: Hi, Dan. Thanks for the response. What I was trying to outline below was partially whether the functionality worked or not, but also that the emacsclient interface is different that the standard emacs interface, and that this seems a little bit unfortunate, seeing as they could be the same. Would it be possible to have them be the same? I think it would make interacting with the server/client much easier. > > emacsclient > > opens up a new frame with *scratch* > does not work, it seems intentional, no idea why. This is also the main thing that I was having issue with not working. Is there any reason the behavior of just having emacsclient called without any arguments open up an empty frame can't be supported? jamie. > > emacsclient > > opens up a new frame with >=20 > emacsclient -c > does this >=20 >=20 > > emacsclient -nw > > opens up a new frame in the current terminal with *scratch* >=20 > this works >=20 > > emacsclient -nw > > opens up a new frame in the current terminal with >=20 > this works >=20 > > emacsclient - > > opens up in an already opened "master" frame >=20 > emacsclient =20 > does this >=20 >=20 --vKFfOv5t3oGVpiF+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: attachment -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQIcBAEBAgAGBQJJ77ibAAoJEO00zqvie6q8S8kP/jIol3W95AWHB0eIK7BjlMDW KDQkWrDDHbqYcrNOkO85LmNnkad3fwaa6fO6YoPuTly5SS05RrP5kXyuleQQ19PX weH5/zizg+2yso9MXmW+NLP4wF4+QuzXvPoDCZuVOFHjAjWWyd4uxJkHHhT2FUhS aRxVnAOLj2xeDxuAh8WDSlVBtJ5E+Js8MEvPem3560ZT2LxaKFRBcdLvj8HMpgKB 9VhAvgpIIITPR3PD6owar4psBUX/Fsrrl+2XXfsHFGF49pCuE6MeaMaXhnzIVCbG wqMcR1SmdOORUUrAhlJ8bJV3tWIKEbdFRh/J75tLtwysxbdy3VMnnP+uU7UDBEYJ 5SE4iol7o4zsEjjKbBuksB18YpKz7MlLmmPbu1pz8hTfpnjA9NpilxWhXHlS/QGy YT3mkq3owx3gNDwr3gIn0mk9b7QCUsnr2lcphlFQ2B31xGRXhYQwB+Z2PW7PDO8l LgJX41JWaqWvqhP7U1YrMTnjwT2NZtBhRa4f8ufi6KDzb+dr43WUKz7ndblVC/Ve ZO3WeLNq6pVs0r09Fyo3URnxcqIPBNyZsP0cjhUTNdwX02D2S9rAScYCcIJMJ33I jFpIeOmEwoKBHRhyQ1p6ryLkv3siaG6uCVtCkl5ZhMDjQ+naMNcCqcV6QqBApljW IE+OUr2541L1GL/By2zb =pQEe -----END PGP SIGNATURE----- --vKFfOv5t3oGVpiF+-- From dann@godzilla.ics.uci.edu Wed Apr 22 19:34:08 2009 Received: (at 3080) by emacsbugs.donarmstrong.com; 23 Apr 2009 02:34:08 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.0 required=4.0 tests=HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n3N2Y5Ze018244 for <3080@emacsbugs.donarmstrong.com>; Wed, 22 Apr 2009 19:34:06 -0700 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n3N2XI2d018324; Wed, 22 Apr 2009 19:33:18 -0700 (PDT) Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n3N2XHI3013727; Wed, 22 Apr 2009 19:33:17 -0700 (PDT) Date: Wed, 22 Apr 2009 19:33:17 -0700 (PDT) Message-Id: <200904230233.n3N2XHI3013727@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Jameson Rollins Cc: 3080@debbugs.gnu.org, rfrancoise@debian.org Subject: Re: bug#3080: 23.0.92; emacsclient can not open frame without visiting file References: <200904222125.n3MLP4kN008572@godzilla.ics.uci.edu> <20090423003855.GK7931@finestructure.net> X-Debbugs-No-Ack: yes In-Reply-To: <20090423003855.GK7931@finestructure.net> (Jameson Rollins's message of "Wed, 22 Apr 2009 17:38:55 -0700") Lines: 64 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: n3N2XI2d018324 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@godzilla.ics.uci.edu Jameson Rollins writes: > On Wed, Apr 22, 2009 at 02:25:04PM -0700, Dan Nicolaescu wrote: > > Jameson Rollins writes: > > > > > emacsclient does not allow for opening a frame, either in a terminal > > > or in a new X frame, with*out* touching a file. This is maybe only an > > > issue when emacs is run in --daemon mode where an initial frame is not > > > created. It is often useful to open up an emacs without having a > > > particular file that needs to be editted, and this is not currently > > > possible. In fact, I would prefer to see emacsclient behave more like > > > the "classical" emacs behaves. I would like to see the following > > > behavior, that I think makes more sense and is more compatible with > > > the classic interface: > > Hi, Dan. Thanks for the response. What I was trying to outline below > was partially whether the functionality worked or not, but also that > the emacsclient interface is different that the standard emacs > interface, and that this seems a little bit unfortunate, seeing as > they could be the same. Would it be possible to have them be the > same? Sure, AFAIR they were the same at some point after the multi-tty merge, but they got changed back (no idea why, you might want to dig through the mailing list). > > > emacsclient > > > opens up a new frame with *scratch* > > does not work, it seems intentional, no idea why. > > This is also the main thing that I was having issue with not working. > Is there any reason the behavior of just having emacsclient called > without any arguments open up an empty frame can't be supported? AFAIK there's no technical reason. It might be too late for the current release cycle though. > jamie. > > > > emacsclient > > > opens up a new frame with > > > > emacsclient -c > > does this > > > > > > > emacsclient -nw > > > opens up a new frame in the current terminal with *scratch* > > > > this works > > > > > emacsclient -nw > > > opens up a new frame in the current terminal with > > > > this works > > > > > emacsclient - > > > opens up in an already opened "master" frame > > > > emacsclient > > does this > > > > From monnier@iro.umontreal.ca Thu Apr 23 08:02:19 2009 Received: (at 3080) by emacsbugs.donarmstrong.com; 23 Apr 2009 15:02:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=HAS_BUG_NUMBER,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n3NF2BYL014566 for <3080@emacsbugs.donarmstrong.com>; Thu, 23 Apr 2009 08:02:12 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArwGAD8g8ElMCrUB/2dsb2JhbACBT85/g3UGhS4 X-IronPort-AV: E=Sophos;i="4.40,236,1238990400"; d="scan'208";a="37507529" Received: from 76-10-181-1.dsl.teksavvy.com (HELO pastel.home) ([76.10.181.1]) by ironport2-out.teksavvy.com with ESMTP; 23 Apr 2009 11:02:05 -0400 Received: by pastel.home (Postfix, from userid 20848) id 83B177EFE; Thu, 23 Apr 2009 11:02:04 -0400 (EDT) From: Stefan Monnier To: Jameson Rollins Cc: 3080@debbugs.gnu.org, Dan Nicolaescu , rfrancoise@debian.org Subject: Re: bug#3080: 23.0.92; emacsclient can not open frame without visiting file Message-ID: References: <200904222125.n3MLP4kN008572@godzilla.ics.uci.edu> <20090423003855.GK7931@finestructure.net> Date: Thu, 23 Apr 2009 11:02:04 -0400 In-Reply-To: <20090423003855.GK7931@finestructure.net> (Jameson Rollins's message of "Wed, 22 Apr 2009 17:38:55 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > Hi, Dan. Thanks for the response. What I was trying to outline below > was partially whether the functionality worked or not, but also that > the emacsclient interface is different that the standard emacs > interface, and that this seems a little bit unfortunate, seeing as > they could be the same. The reason is simply that "emacsclient" has existed for a long time and the previous behavior was not compatible with the one of "emacs". > Would it be possible to have them be the same? Only by breaking compatibility with scripts that were written for older "emacsclient"s. Note that if you really switch to a setup based on emacs-daemon, then you'll only ever use "emacsclient" on the command line, so the compatibility with the "emacs" command line wouldn't be that important. Stefan From unknown Sat Jun 21 10:17:45 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Fri, 22 May 2009 14:24:14 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator