From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: PJ Weisberg Newsgroups: gmane.emacs.bugs Subject: bug#8314: 24.0.50; emacsclient -c does the wrong thing when compiled without X Date: Sat, 4 Jun 2011 01:00:25 -0700 Message-ID: References: <83boyeds4p.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1307174491 23219 80.91.229.12 (4 Jun 2011 08:01:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Jun 2011 08:01:31 +0000 (UTC) Cc: "8314@debbugs.gnu.org" <8314@debbugs.gnu.org>, PJ Weisberg To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 04 10:01:26 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QSlnR-0004MM-G1 for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Jun 2011 10:01:25 +0200 Original-Received: from localhost ([::1]:44989 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSlnQ-0004L4-OW for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Jun 2011 04:01:24 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSln7-0004KY-QR for bug-gnu-emacs@gnu.org; Sat, 04 Jun 2011 04:01:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QSln6-0006tJ-0I for bug-gnu-emacs@gnu.org; Sat, 04 Jun 2011 04:01:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSln5-0006t6-Cp for bug-gnu-emacs@gnu.org; Sat, 04 Jun 2011 04:01:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QSln4-0002dv-Ea; Sat, 04 Jun 2011 04:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: PJ Weisberg Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Jun 2011 08:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8314 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8314-submit@debbugs.gnu.org id=B8314.130717443610125 (code B ref 8314); Sat, 04 Jun 2011 08:01:02 +0000 Original-Received: (at 8314) by debbugs.gnu.org; 4 Jun 2011 08:00:36 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QSlmd-0002dG-PR for submit@debbugs.gnu.org; Sat, 04 Jun 2011 04:00:36 -0400 Original-Received: from smtpauth23.prod.mesa1.secureserver.net ([64.202.165.47]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QSlmc-0002d4-3h for 8314@debbugs.gnu.org; Sat, 04 Jun 2011 04:00:34 -0400 Original-Received: (qmail 28373 invoked from network); 4 Jun 2011 08:00:28 -0000 Original-Received: from unknown (209.85.161.44) by smtpauth23.prod.mesa1.secureserver.net (64.202.165.47) with ESMTP; 04 Jun 2011 08:00:27 -0000 Original-Received: by fxm15 with SMTP id 15so1668070fxm.3 for <8314@debbugs.gnu.org>; Sat, 04 Jun 2011 01:00:25 -0700 (PDT) Original-Received: by 10.223.23.143 with SMTP id r15mr3030363fab.29.1307174425626; Sat, 04 Jun 2011 01:00:25 -0700 (PDT) Original-Received: by 10.223.93.208 with HTTP; Sat, 4 Jun 2011 01:00:25 -0700 (PDT) In-Reply-To: <83boyeds4p.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 04 Jun 2011 04:01:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:46950 Archived-At: On Friday, June 3, 2011, Eli Zaretskii wrote: >> Date: Fri, 3 Jun 2011 15:03:18 -0700 >> From: PJ Weisberg >> Cc: 8314@debbugs.gnu.org >> >> I think that if there's no useable graphical display for *any* reason, >> '-c' should be a synonym for '-t'. > > I'm not at all sure that's TRT. =A0Next you will be saying that if -t is > not available either, emacsclient should start a new Emacs session. There's already the -a=3D"" option if I want that. '-c' already acts the same as '-t' if you're at a terminal with no graphical display. Really I just want to say, "open whatever type of frame Emacs would normally open." In the script I was writing when I wrote this report I eventually used `if emacs -Q --batch --eval "(kill-emacs (if (featurep 'x) 0 1))"' to decide whether to creat a graphical frame or use --tty. --=20 -PJ