From dann@mothra.ics.uci.edu Sun Oct 12 18:36:56 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=-9.0 required=4.0 tests=AWL,BAYES_00,FOURLA, MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 13 Oct 2008 01:36:56 +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 m9D1arnT015998 for ; Sun, 12 Oct 2008 18:36:54 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpCMf-0007nr-Cr for bug-gnu-emacs@gnu.org; Sun, 12 Oct 2008 21:36:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpCMc-0007nf-UO for bug-gnu-emacs@gnu.org; Sun, 12 Oct 2008 21:36:52 -0400 Received: from [199.232.76.173] (port=42884 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpCMc-0007nc-Oi for bug-gnu-emacs@gnu.org; Sun, 12 Oct 2008 21:36:50 -0400 Received: from barrelv2.ics.uci.edu ([128.195.1.114]:43811) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1KpCMc-0002Fq-Oq for bug-gnu-emacs@gnu.org; Sun, 12 Oct 2008 21:36:51 -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 m9D1aiVs002398 for ; Sun, 12 Oct 2008 18:36:44 -0700 (PDT) Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id m9D1ahgF000541; Sun, 12 Oct 2008 18:36:44 -0700 (PDT) Date: Sun, 12 Oct 2008 18:36:44 -0700 (PDT) Message-Id: <200810130136.m9D1ahgF000541@mothra.ics.uci.edu> From: Dan Nicolaescu To: bug-gnu-emacs@gnu.org Subject: emacsclient should support the "-nw" flag X-Debbugs-No-Ack: yes 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: m9D1aiVs002398 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) emacsclient should support the "-nw" flag (as an equivalent to "-t") for consistency with emacs. The attached patch implements this. Index: emacsclient.c =================================================================== RCS file: /cvsroot/emacs/emacs/lib-src/emacsclient.c,v retrieving revision 1.132 diff -u -3 -p -u -p -r1.132 emacsclient.c --- emacsclient.c 19 Sep 2008 16:45:12 -0000 1.132 +++ emacsclient.c 13 Oct 2008 01:34:25 -0000 @@ -156,6 +156,7 @@ struct option longopts[] = { "help", no_argument, NULL, 'H' }, { "version", no_argument, NULL, 'V' }, { "tty", no_argument, NULL, 't' }, + { "nw", no_argument, NULL, 't' }, { "create-frame", no_argument, NULL, 'c' }, { "alternate-editor", required_argument, NULL, 'a' }, #ifndef NO_SOCKETS_IN_FILE_SYSTEM @@ -474,7 +475,7 @@ decode_options (argc, argv) while (1) { - int opt = getopt_long (argc, argv, + int opt = getopt_long_only (argc, argv, #ifndef NO_SOCKETS_IN_FILE_SYSTEM "VHnea:s:f:d:tc", #else @@ -601,7 +602,7 @@ Every FILE can be either just a FILENAME The following OPTIONS are accepted:\n\ -V, --version Just print version info and return\n\ -H, --help Print this usage information message\n\ --t, --tty Open a new Emacs frame on the current terminal\n\ +-nw, -t, --tty Open a new Emacs frame on the current terminal\n\ -c, --create-frame Create a new frame instead of trying to\n\ use the current Emacs frame\n\ -e, --eval Evaluate the FILE arguments as ELisp expressions\n\ From monnier@iro.umontreal.ca Sun Oct 12 19:00:27 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=-7.6 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; 13 Oct 2008 02:00:28 +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 m9D20Ot8021479 for ; Sun, 12 Oct 2008 19:00:25 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpCjP-0007Og-KR for bug-gnu-emacs@gnu.org; Sun, 12 Oct 2008 22:00:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpCjJ-0007OU-W7 for bug-gnu-emacs@gnu.org; Sun, 12 Oct 2008 22:00:22 -0400 Received: from [199.232.76.173] (port=35323 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpCjJ-0007OR-TQ for bug-gnu-emacs@gnu.org; Sun, 12 Oct 2008 22:00:17 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:26546) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KpCjJ-0004mb-Rc for bug-gnu-emacs@gnu.org; Sun, 12 Oct 2008 22:00:18 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AswEALtI8kjO+IL0/2dsb2JhbACBcrV5gWyBCIIe X-IronPort-AV: E=Sophos;i="4.33,399,1220241600"; d="scan'208";a="28331581" Received: from 206-248-130-244.dsl.teksavvy.com (HELO pastel.home) ([206.248.130.244]) by ironport2-out.teksavvy.com with ESMTP; 12 Oct 2008 22:00:14 -0400 Received: by pastel.home (Postfix, from userid 20848) id 2CC017F84; Sun, 12 Oct 2008 22:00:14 -0400 (EDT) From: Stefan Monnier To: Dan Nicolaescu Cc: 1152@debbugs.gnu.org, bug-gnu-emacs@gnu.org Subject: Re: bug#1152: emacsclient should support the "-nw" flag Message-ID: References: <200810130136.m9D1ahgF000541@mothra.ics.uci.edu> Date: Sun, 12 Oct 2008 22:00:14 -0400 In-Reply-To: <200810130136.m9D1ahgF000541@mothra.ics.uci.edu> (Dan Nicolaescu's message of "Sun, 12 Oct 2008 18:36:44 -0700 (PDT)") 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-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-CrossAssassin-Score: 2 > emacsclient should support the "-nw" flag (as an equivalent to "-t") for > consistency with emacs. That's good, please install it, Stefan From dann@mothra.ics.uci.edu Sun Oct 12 19:34:50 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=-8.6 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1152-done) by emacsbugs.donarmstrong.com; 13 Oct 2008 02:34:50 +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 m9D2YmJl029796 for <1152-done@emacsbugs.donarmstrong.com>; Sun, 12 Oct 2008 19:34:49 -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 m9D2YaPr021547; Sun, 12 Oct 2008 19:34:36 -0700 (PDT) Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id m9D2YZ5c000663; Sun, 12 Oct 2008 19:34:35 -0700 (PDT) Date: Sun, 12 Oct 2008 19:34:35 -0700 (PDT) Message-Id: <200810130234.m9D2YZ5c000663@mothra.ics.uci.edu> From: Dan Nicolaescu To: Stefan Monnier Cc: 1152-done@debbugs.gnu.org Subject: Re: bug#1152: emacsclient should support the "-nw" flag References: <200810130136.m9D1ahgF000541@mothra.ics.uci.edu> X-Debbugs-No-Ack: yes In-Reply-To: (Stefan Monnier's message of "Sun, 12 Oct 2008 22:00:14 -0400") Lines: 8 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: m9D2YaPr021547 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 Stefan Monnier writes: > > emacsclient should support the "-nw" flag (as an equivalent to "-t") for > > consistency with emacs. > > That's good, please install it, Thanks, checked in. From unknown Sat Sep 20 13:26:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Mon, 10 Nov 2008 15:24:04 +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