[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacsclient's option decoding code
From: |
Juri Linkov |
Subject: |
Re: emacsclient's option decoding code |
Date: |
Thu, 13 Nov 2008 22:03:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) |
> . if -c was specified, try creating a GUI frame, and failing that,
> try a tty frame;
>
> . if --tty was specified, try make-frame-on-tty, if it fails, try
> using the current tty or a GUI frame.
This looks mostly clear for me. The only thing I don't understand is why
we need -c? Emacs has no option for creating a GUI frame and has -nw for
running on a tty, so why should emacsclient be different? The following
rules are more consistent with the traditional Emacs invocation:
. if -nw was specified, try make-frame-on-tty, if it fails, try
using the current tty or a GUI frame;
. if no option specified, try creating a GUI frame, and failing that,
try a tty frame.
for consistency with
emacsclient = emacs (create a new GUI frame)
emacsclient -nw = emacs -nw (run emacs on a tty)
emacsclient FILE = emacs FILE (open a file in a new GUI frame)
emacsclient -nw FILE = emacs -nw FILE (open a file in a tty)
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: emacsclient's option decoding code, (continued)
- Re: emacsclient's option decoding code, Juanma Barranquero, 2008/11/13
- Re: emacsclient's option decoding code, Dan Nicolaescu, 2008/11/13
- Re: emacsclient's option decoding code, Eli Zaretskii, 2008/11/12
- Re: emacsclient's option decoding code, Stefan Monnier, 2008/11/12
- Re: emacsclient's option decoding code, Eli Zaretskii, 2008/11/12
- Re: emacsclient's option decoding code, mail, 2008/11/12
- Re: emacsclient's option decoding code, Eli Zaretskii, 2008/11/13
- Re: emacsclient's option decoding code, mail, 2008/11/13
- Re: emacsclient's option decoding code, Eli Zaretskii, 2008/11/13
- Re: emacsclient's option decoding code, mail, 2008/11/13
- Re: emacsclient's option decoding code,
Juri Linkov <=
- Re: emacsclient's option decoding code, mail, 2008/11/13
- Re: emacsclient's option decoding code, Thorsten Bonow, 2008/11/13
- Re: emacsclient's option decoding code, Thorsten Bonow, 2008/11/13
- Re: emacsclient's option decoding code, Evil Boris, 2008/11/14
- Re: emacsclient's option decoding code, Eli Zaretskii, 2008/11/07
- Re: emacsclient's option decoding code, Juanma Barranquero, 2008/11/03
- Re: emacsclient's option decoding code, Eli Zaretskii, 2008/11/03
- Re: emacsclient's option decoding code, Eli Zaretskii, 2008/11/03