From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1152: marked as done (emacsclient should support the "-nw" flag) Date: Sun, 12 Oct 2008 19:40:04 -0700 Message-ID: References: <200810130234.m9D2YZ5c000663@mothra.ics.uci.edu> <200810130136.m9D1ahgF000541@mothra.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1223865604-31016-0" X-Trace: ger.gmane.org 1223866244 11564 80.91.229.12 (13 Oct 2008 02:50:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Oct 2008 02:50:44 +0000 (UTC) To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 13 04:51:42 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KpDX2-0004ZO-3L for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Oct 2008 04:51:41 +0200 Original-Received: from localhost ([127.0.0.1]:46854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpDVw-0000Nm-Lh for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Oct 2008 22:50:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpDVX-00006a-W8 for bug-gnu-emacs@gnu.org; Sun, 12 Oct 2008 22:50:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpDVW-000052-57 for bug-gnu-emacs@gnu.org; Sun, 12 Oct 2008 22:50:07 -0400 Original-Received: from [199.232.76.173] (port=40421 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpDVV-00004q-QX for bug-gnu-emacs@gnu.org; Sun, 12 Oct 2008 22:50:05 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51466) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KpDVU-0001sh-VM for bug-gnu-emacs@gnu.org; Sun, 12 Oct 2008 22:50:06 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9D2nwmH000871; Sun, 12 Oct 2008 19:49:59 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9D2e4xl031108; Sun, 12 Oct 2008 19:40:04 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 1152 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21432 Archived-At: This is a multi-part message in MIME format... ------------=_1223865604-31016-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sun, 12 Oct 2008 19:34:35 -0700 (PDT) with message-id <200810130234.m9D2YZ5c000663@mothra.ics.uci.edu> and subject line Re: bug#1152: emacsclient should support the "-nw" flag has caused the Emacs bug report #1152, regarding emacsclient should support the "-nw" flag to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 1152: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1152 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1223865604-31016-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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\ ------------=_1223865604-31016-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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@emacsbugs.donarmstrong.com 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. ------------=_1223865604-31016-0--