GNU bug report logs - #8314
24.0.50; emacsclient -c does the wrong thing when compiled without X

Previous Next

Package: emacs;

Reported by: PJ Weisberg <pj <at> irregularexpressions.net>

Date: Tue, 22 Mar 2011 01:07:02 UTC

Severity: minor

Found in version 24.0.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 8314 <at> debbugs.gnu.org (full text, mbox):

From: PJ Weisberg <pj <at> irregularexpressions.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: "rgm <at> gnu.org" <rgm <at> gnu.org>, "8314 <at> debbugs.gnu.org" <8314 <at> debbugs.gnu.org>,
	PJ Weisberg <pj <at> irregularexpressions.net>
Subject: Re: bug#8314: 24.0.50; emacsclient -c does the wrong thing when
	compiled without X
Date: Sat, 4 Jun 2011 01:00:25 -0700
On Friday, June 3, 2011, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> Date: Fri, 3 Jun 2011 15:03:18 -0700
>> From: PJ Weisberg <pj <at> irregularexpressions.net>
>> Cc: 8314 <at> 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




This bug report was last modified 13 years and 36 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.