From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#11091: 24.0.94; emacsclient -t Date: Tue, 27 Mar 2012 00:49:02 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1332802198 30768 80.91.229.3 (26 Mar 2012 22:49:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Mar 2012 22:49:58 +0000 (UTC) Cc: 11091@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 27 00:49:57 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SCIjb-0007td-QM for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Mar 2012 00:49:56 +0200 Original-Received: from localhost ([::1]:49660 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCIjb-0007fe-87 for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Mar 2012 18:49:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCIjY-0007fL-6i for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2012 18:49:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCIjW-0003Vi-F4 for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2012 18:49:51 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33322) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCIjW-0003VU-9h for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2012 18:49:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SCJDh-00065z-OS for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2012 19:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Mar 2012 23:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11091 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11091-submit@debbugs.gnu.org id=B11091.133280401923362 (code B ref 11091); Mon, 26 Mar 2012 23:21:01 +0000 Original-Received: (at 11091) by debbugs.gnu.org; 26 Mar 2012 23:20:19 +0000 Original-Received: from localhost ([127.0.0.1]:40154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SCJCz-00064k-Nu for submit@debbugs.gnu.org; Mon, 26 Mar 2012 19:20:18 -0400 Original-Received: from mail-ob0-f172.google.com ([209.85.214.172]:34639) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SCJCx-00064a-P3 for 11091@debbugs.gnu.org; Mon, 26 Mar 2012 19:20:16 -0400 Original-Received: by obbtb4 with SMTP id tb4so5619778obb.3 for <11091@debbugs.gnu.org>; Mon, 26 Mar 2012 15:49:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=G26CvbCXkNtPJsaeYkQ+gdhMd4+r4zjFiMGwKyI9wBQ=; b=Mvx/qMt6hrn/qVXGSVMtA1uOPbQZPzrvEN2AT0PbzL+aHeZwvnjamL1jnK4ivCfWRS kJmMJrJ51cr9iKQwkJUZgzjPo+oTs/eKpzC4nzEkDpwTYBjngxOjYxUMQHDZiyT7FMjz 0W7RfMilBzxLX0TOhImR3aef/l2LNShewqkzaUSKI/9ULvZ3xi1uln9EUa912NIRofeq XVxEqijX8SScRK/aXPx/oPDMDMDm7wG1UK6W1nyaVY/teIo6NB/qKh1zQS7vBsxqRazH x9aAN7kHi80hOzXiPb3zvMeHD06tOfttufDAusThzFxDzKfstR5VQeJRwzKY0//UvbdE 0d1g== Original-Received: by 10.182.119.101 with SMTP id kt5mr29785123obb.70.1332802142942; Mon, 26 Mar 2012 15:49:02 -0700 (PDT) Original-Received: by 10.60.118.69 with HTTP; Mon, 26 Mar 2012 15:49:02 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:58174 Archived-At: >> The manual currently has many of such explanations, e.g., in that same >> info node "(emacs)emacsclient Options": > > You're right. Could you please send a patch? What about this one? === modified file 'doc/emacs/misc.texi' --- doc/emacs/misc.texi 2012-01-19 07:21:25 +0000 +++ doc/emacs/misc.texi 2012-03-26 22:43:36 +0000 @@ -1503,13 +1503,16 @@ precedence. @item -c -Create a new graphical frame, instead of using an existing Emacs -frame. Emacs can create a graphical frame even if it was started in a -text-only terminal, provided it is able to connect to a graphical -display. If no graphical display is available, Emacs creates a new -text-only terminal frame (@pxref{Frames}). If you omit a filename -argument while supplying the @samp{-c} option, the new frame displays -the @samp{*scratch*} buffer (@pxref{Buffers}). +Create a new graphical frame if possible, instead of using an existing +Emacs frame (@pxref{Frames}). If no graphical display is available, +Emacs creates a new text-only terminal frame. + +On MS-Windows, if the server is on a text-only terminal, it's not +possible to create a new frame outside that terminal, so a new +text-only frame is created there. + +If you omit a filename argument while supplying the @samp{-c} option, +the new frame displays the @samp{*scratch*} buffer (@pxref{Buffers}). @item -F @var{alist} @itemx --frame-parameters=@var{alist} @@ -1592,11 +1595,15 @@ @itemx --tty @itemx -nw Create a new Emacs frame on the current text-only terminal, instead of -using an existing Emacs frame. Emacs can open a text-only terminal -even if it was started in another text-only terminal, or on a -graphical display. If you omit a filename argument while supplying -this option, the new frame displays the @samp{*scratch*} buffer. -@xref{Buffers}. +using an existing Emacs frame. + +This is not possible on MS-Windows. So, if the server is on a +graphical frame, a new graphical frame is created, and if the server +is on a text-only terminal, a new text-only frame is created in that +terminal. + +If you omit a filename argument while supplying this option, the new +frame displays the @samp{*scratch*} buffer (@pxref{Buffers}). @end table If you type @kbd{C-x C-c} (@code{save-buffers-kill-terminal}) in an -- Dani Moncayo