all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: PJ Weisberg <pj@irregularexpressions.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "8314@debbugs.gnu.org" <8314@debbugs.gnu.org>,
	PJ Weisberg <pj@irregularexpressions.net>
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	[thread overview]
Message-ID: <BANLkTimMRrRhPF8uonH_QgObVOkOkDWcxQ@mail.gmail.com> (raw)
In-Reply-To: <83boyeds4p.fsf@gnu.org>

On Friday, June 3, 2011, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Fri, 3 Jun 2011 15:03:18 -0700
>> From: PJ Weisberg <pj@irregularexpressions.net>
>> 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.  Next you will be saying that if -t is
> not available either, emacsclient should start a new Emacs session.

There's already the -a="" 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.


-- 

-PJ





  reply	other threads:[~2011-06-04  8:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-22  1:05 bug#8314: 24.0.50; emacsclient -c does the wrong thing when compiled without X PJ Weisberg
2011-06-03 19:49 ` Glenn Morris
2011-06-03 22:03   ` PJ Weisberg
2011-06-04  6:31     ` Eli Zaretskii
2011-06-04  8:00       ` PJ Weisberg [this message]
2011-06-04 21:35         ` Chong Yidong
2011-06-05 21:09           ` PJ Weisberg
2011-06-06 14:57           ` Stefan Monnier
2011-06-06 14:56   ` Stefan Monnier
2011-06-29  0:16     ` Glenn Morris
2011-06-30  2:09       ` Stefan Monnier
2012-04-20 10:38 ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTimMRrRhPF8uonH_QgObVOkOkDWcxQ@mail.gmail.com \
    --to=pj@irregularexpressions.net \
    --cc=8314@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.